Hi Monks,
I've been banging my head against this for a week, and I'm pretty stuck. I have some regexs that run completely fine on my local machine, taking mere milliseconds. They work for both ASCII and unicode and cause me no problems whatsoever (assuming correct conversion to unicode when needed, etc...). This all happens locally on a Windows box using cygwin and Perl 5.10.1.
Now, as soon as I take that exact same code and throw it on a Linux server running Perl 5.8.8, everything still works in about the same length of time except for seven regular expressions (out of hundreds that I'm using) which for one reason or another wind up hanging and taking a long time (seconds v.s. milliseconds) for Japanese UTF8. I don't see anything special in these 7 regexs, or understand why there might be a problem in only Japanese (other high Unicode, like Chinese or Thai works fine), or why this problem only exists remotely on Perl 5.8.8 and not locally on Perl 5.10.1.
Upgrading the server to 5.10.1 is out of the question, so I need to find a work around for these. A few of the problematic regexs are:
Has anyone ever experienced anything similar?
In reply to Weird Perl 5.8.8 Regex Problems for Japanese UTF8 by ruski86
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |