Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Regarding the new \w regexp escape in 5.11

by demerphq (Chancellor)
on Oct 06, 2009 at 09:54 UTC ( #799419=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Regarding the new \w regexp escape in 5.11
in thread Regarding the new \w regexp escape in 5.11

Im wondering if you somehow dropped a "not" in your first parenthetical remark.

The fundamental problem here is that \w and behaves different if the string is utf8 or not. We want to make it so \w does the same thing regardless. That means that we end up breaking someones code. I really dont want to have to support three modes, one for the current broken behaviour, one for utf8 and one for ascii. I would much rather just support one mode, and have it be able to cover all the bases. Whether this is feasable or not going forward isnt clear.

Feel free to provide more details on how these issues are tackled in other languages.

---
$world=~s/war/peace/g


Comment on Re^3: Regarding the new \w regexp escape in 5.11

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://799419]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2014-04-16 12:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (425 votes), past polls