in reply to Re^2: alternate markup for the 're' pragma
in thread alternate markup for the 're' pragma

Humm, thats an interesting idea. Ive been ponderng ways to allow more programatic introspection of compiled regexps. I have to admit I hadn't thought of XML, but it does make a certain amount of sense as it would be pretty easy to emit, albeit verbose.

I was thinking of some kind of script that walked the regex optree and converted to perl structures so it can interfaced with from perl easily, but I suppose spitting out XML is another option.

Interesting. Hmm.

---
$world=~s/war/peace/g

  • Comment on Re^3: alternate markup for the 're' pragma