Keep It Simple, Stupid | |
PerlMonks |
Re: With Unicode, \d is wrong if you mean [0-9]by hardburn (Abbot) |
on Oct 26, 2004 at 15:46 UTC ( [id://402651]=note: print w/replies, xml ) | Need Help?? |
No, \d will match digit characters in many languages (as TimToady mentioned). I think it's more accurate to say that it's wrong to mean [0-9], as letting people put in digits in whatever langauge they want is usually the right thing. "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
In Section
Seekers of Perl Wisdom
|
|