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

Modern best practices for multilingual regexp alphabetical character matching?

by dmorgo (Pilgrim)
on Jan 12, 2009 at 20:55 UTC ( #735804=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (/^(\w+)$/) { print "found [$1]\n"; }
    
  2. or download this
    if (/^([A-Za-z]+)$/) { print "found [$1]\n"; }
    
  3. or download this
    if (/^([[:alpha:]]+)$/) { print "found [$1]\n"; }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://735804]
Approved by Narveson
help
Chatterbox?
[Copacetic]: Sorry, I've just discovered that it gives a useful error message if I select "preview" (as well as removing the "create" button for some reason). It was that my title wasn't long enough. Thanks for your help.
[choroba]: :-)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2017-05-26 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?