Hello,<div><br></div><div>Since I'm on regexps... next message!</div><div><br></div><div>I couldn't find a way to match groups.</div><div>I'd like to have something like this:</div><div><br></div><div>(define t "</div>
<div>23 12</div><div>15 45</div><div>32 27")</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>(regexp-match-groups* #px"(\\d+)\\s+(\\d+)" t)</div>
<div><br></div><div>=> '(("23" "12") ("15" "45") ("32" "27"))</div><div><br></div><div><br></div><div>Does such a thing exist?</div><div><br></div><div><br>
</div><div><br></div><div>I am trying to parse the output from a HPL benchmark result, which is composed by many blocks of the following:</div><div><br></div><div><div>T/V N NB P Q Time Gflops</div>
<div>--------------------------------------------------------------------------------</div><div>WR00L2L4 29293 256 2 4 535.64 3.129e+01</div><div>--------------------------------------------------------------------------------</div>
<div>||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)= 0.0034782 ...... PASSED</div><div>================================================================================</div></div><div><br></div><div><br></div><div>
Maybe there is a better way other than using regexps?</div><div><br></div><div>Actually it would be nice to have some kind of reader that know how to read and convert "3.129e+01" from scientific notation to regular number which I could operate with.</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div><br></div><div>Any advice?</div><div><br></div><div>[]'s</div><div><br></div><div>Rodolfo Carvalho<br>
</div>