Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: About \d \w and \s

by moritz (Cardinal)
on Oct 18, 2009 at 19:17 UTC ( #801902=note: print w/ replies, xml ) Need Help??


in reply to About \d \w and \s

I like the ideas of having /a, /u and /l modifiers. And while I have nothing against the fourth one, I question its value.

The 5.8 behavior is rather confusing, and I remember a lengthy discussion with ikegami where we tried to figure out the details, and it took us quite some time. Also it seemed to have changed between different maintenance releases of 5.8 (not quite sure on this one), so I think that nearly nobody relies willingly on these semantics.

I'd also love to see a way to set the default in a pragma. I envision a pragma that enables as much Unicode behavior as possible, something like use utf8::all; or so, which imports utf8.pm, use open ':encoding(utf8)'; and the pragma that enables /u by default.

Perl 6 - links to (nearly) everything that is Perl 6.


Comment on Re: About \d \w and \s
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2014-07-26 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls