develooper Front page | perl.perl5.porters | Postings from December 2011

Request for Code review: involving the regex optimizer and trickyfolds

From:
Karl Williamson
Date:
December 23, 2011 20:10
Subject:
Request for Code review: involving the regex optimizer and trickyfolds
Message ID:
4EF550AA.9000105@khwilliamson.com
I have pushed to a branch

remotes/origin/khw/tricky

code that attempts to fix the remaining problems involving 
multi-character folds outside [bracketed char classes].  (That is, those 
problems that can be fixed without a complete overhaul of Perls regex 
handling.)

These have come to be known as the tricky folds.  Making these changes 
required some changes to the dreaded regex optimizer.  I am leery of 
doing this, so tried to make the changes as minimal as possible, 
paralleling other code when possible.

I am hoping that someone at least semi-familiar with the optimizer would 
look at these patches.  Failing that, I'll push to blead eventually, and 
let the cruel world determine if this works or not.

The trie construction fails on these so I bypass it for these cases.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About