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

Re: Force ASCII regexp for all perls 5.8+

by davido (Archbishop)
on May 16, 2013 at 00:14 UTC ( #1033749=note: print w/ replies, xml ) Need Help??


in reply to Force ASCII regexp for all perls 5.8+

See the /a modifier in perlre. Is that what you're after?

If you want to impact an entire lexical scope, you can:

use re '/a';

Update: Oh good grief, how did I miss that this is for 5.8? It's only staring me in the face in the subject line, and at the end of the post. I have no excuse. Sorry. ;)


Dave


Comment on Re: Force ASCII regexp for all perls 5.8+
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2015-07-07 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls