Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: About \d \w and \s

by Anonymous Monk
on Oct 18, 2009 at 16:50 UTC ( #801889=note: print w/replies, xml ) Need Help??

in reply to About \d \w and \s

The /b behaviour is inconsistent, and I don't think we should be supporting it indefinitely. We should abandon it entirely. The /a, /u, and /l behaviours are all sane, and if the meaning of \w et al are going to be variable then modifiers are the right way to do it. As for what should be the default: apparently the rationale for having variable meaning is that it's too much trouble to change all the code that's expecting Unicode behaviour, so the only sensible default in that case is /u. I suppose this means that we're resigned to amending all the existing code that wants ASCII behaviour, which is funny because I thought there was a lot more code in the latter category than the former. If changing Unicode-based code is *not* too onerous, I'd favour /a being the default, and possibly not doing the modifier thing at all.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://801889]
[jdporter]: Node=1169071 — Author= — Date=
[jdporter]: [id://1169071<%A]

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-05-23 20:47 GMT
Find Nodes?
    Voting Booth?