http://qs1969.pair.com?node_id=1061188


in reply to Re: Parsing and translating Perl Regexes
in thread Parsing and translating Perl Regexes

Thx,

I didn't redirect warn() b/c I didn't expect it to be used by the underlying C code.

And indeed your code doens't work! (unfortunately)

$log will be undefined ... the output you are getting is just directly written to STDERR.

Just try to change it before it's written, like lowercasing with lc().

> Is use re debug; output stable enough for automated parsing?

we'll see, some stuff isn't escaped (like EXACT <>> (42) to match ">") so hopefully the regexes can still match them by surrouding context.

Do I have a better choice? (well thats why I started this thread =)

Cheers Rolf

( addicted to the Perl Programming Language)