Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Can I change \s?

by JavaFan (Canon)
on Oct 28, 2011 at 23:17 UTC ( [id://934532]=note: print w/replies, xml ) Need Help??


in reply to Re: Can I change \s?
in thread Can I change \s?

Note that the feature unicode_strings was introduced in 5.12, but to make \s match \xA0 on a non-utf-8 strings, you need 5.14:
$ perl-5.14.2 -wE '$_ = chr 0xA0; say /\s/ || 0' 1 $ perl-5.12.2 -wE '$_ = chr 0xA0; say /\s/ || 0' 0
The -E enables "use feature 'unicode_strings'".

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2024-04-25 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found