in reply to Re^4: RegExp breaks in Perl 5.10
in thread RegExp breaks in Perl 5.10
It is indeed a warm and fuzzy feeling :-)
I agree with you on that I should not disable the optimizations as it is certainly against progress.
This problem, being as dependent on context as it is, went away by simply rewriting the regexp as follows:
$R2 =~ /uci(ones|ón)$/
And it now works both for latin-1 and UTF-8 words. I will certainly include two copies of the word list in the next release, one in each encoding.
A strange world, this is.
Thanks again for your kind help.
Julio
|
|---|