in reply to regexp::assemble and dispatch-table with unicode
U+2009 matches \s, so you go in an infinite loop.
First pass of while loop: "SGB\x{0020}I" gets replaced with "SGB\x{2009}I"
Second pass of while loop: "SGB\x{2009}I" gets replaced with "SGB\x{2009}I"
Third pass of while loop: "SGB\x{2009}I" gets replaced with "SGB\x{2009}I"
...
Sorry, I can't help find you a solution right now. I gotta run.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: regexp::assemble and dispatch-table with unicode
by ajan (Initiate) on Jan 08, 2010 at 17:14 UTC | |
by ikegami (Patriarch) on Jan 08, 2010 at 17:29 UTC |
In Section
Seekers of Perl Wisdom