Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Re: Simple Regex for Alpha string

by wog (Curate)
on Nov 14, 2001 at 02:40 UTC ( #125164=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Simple Regex for Alpha string
in thread Simple Regex for Alpha string

For handling non-ASCII characters you can do a use locale; (see perllocale) and use the POSIX character class "upper": /^[[:upper:]]{2}$/

Replies are listed 'Best First'.
Re: Re: Re: Re: Simple Regex for Alpha string
by demerphq (Chancellor) on Nov 14, 2001 at 03:31 UTC
    I was going to say the same thing about using a POSIX class, but aside from the perllocale issue. I think generally its better to use them when you can.

    Yves / DeMerphq
    --
    Have you registered your Name Space?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2022-12-05 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?