Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: With Unicode, \d is wrong if you mean [0-9]

by TimToady (Parson)
on Oct 26, 2004 at 15:40 UTC ( #402648=note: print w/replies, xml ) Need Help??


in reply to With Unicode, \d is wrong if you mean [0-9]
in thread Regex help

That depends on how desperately you want to prevent people from typing in numerals in:
Arabic
Devanagari
Bengali
Gurmukhi
Gujariti
Oriya
Tamil
Teluga
Kannada
Malayalam
Thai
Lao
Tibetan
Myanmar
Ethiopic
Khmer
Mongolian
Limbu
Chinese
Japanese
Korean
Vietnamese
But it's not like \d is going to start throwing exceptions merely because you feed it Unicode.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2021-10-22 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?