|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Regex bug? (/u not cooperating with /x)by duff (Vicar) |
| on Oct 24, 2007 at 04:18 UTC ( #646817=note: print w/ replies, xml ) | Need Help?? |
|
I don't know if I'd call it a bug. \u is behaving as advertised. It's upcasing the next char (which happens to be a space) :-) But, I would agree to a change in spec and implementation that says it upcases the next non-whitespace char when /x is in effect. Too bad you'll have to wait for 5.12 if it's not changed in 5.10 already though as I think it's in feature freeze.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||