On 2011-04-27 18:47, Jim Gibson wrote:

The metasymbol \d matches the characters [0-9],

Beware: the \d matches 250+ code points. So don't use \d if you only mean [0-9].


not the extended hexadecimal
set that includes A-Z. To match those, construct your own character class:

[0-9A-Z]

Or use [[:xdigit:]], though that also matches the lowercase a-f.

(I assume that you meant A-F)

--
Ruud

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to