On 11/13/07, Dr.Ruud <[EMAIL PROTECTED]> wrote: > Gunnar Hjalmarsson schreef: > > > Are you saying that \d is no longer equivalent to [0-9]? > > If so, which digits does \d match besides [0-9]? > > perl -wle'print "\x666"=~/\d/'
perl -wle'print "\x666"=~/[0-9]/' They both match; it seems they're just matching the second character, a 6. ("\x66" is the lowercase "f".) Maybe you meant this? perl -wle'print "\x{666}"=~/\d/' That does seem to illustrate your point; [0-9] wouldn't match there. Cheers! --Tom Phoenix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/