test: 'a' b
into this:
b: bee "hlagh"
bee: 'b'
test : 'abhlaghc'
I know this, because I had to write a Parse::RecDescent deparser too.
b : 'bhlagh'
bee : 'b'
This lead to my wonder why there isn't a decent regex optimizer module around yet...
Perl internals (Score:1)
Not being brave enough to venture into the Perl regex internals myself: does it?
---ict / Spoon