Concerning multiline matching...
I've tried this function.
Alias MultilineRegexp {
Var %rx.parser = /^(<tr>.*?(<a.href="([^"]+)">[^<]+<\/a>|<th>([^<]+)<\/th>).*?<\/tr>)$/mg
Var %rx.inf = inrx.txt , %rx.outf = outrx.txt
Filter -ffg %rx.inf %rx.outf %rx.parser
}
Where inrx.txt contains:
<tr><th> <a href="LINK1">blablabla</a>
<a href="LINK2">blablabla</a>
<a href="LINK3">blablabla</a></th>
<th>SOMETHING1</th>
<th>SOMETHING2</th>
<th>SOMETHING3</th>
<th>SOMETHING4</th>
<th>SOMETHING5</th>
</tr>
<tr> same thing blahblah </tr>
<tr> same thing blahblah </tr>
<tr> same thing blahblah </tr>
But still, nothing happens. Am I doing something wrong ?