in reply to Re^2: regular expression to match specific members of a bus_name
in thread regular expression to match specific members of a bus_name
What AnonyMonk may be getting at is the sometimes tricky difference between \D and (?! \d):
c:\@Work\Perl\monks>perl -wMstrict -le "my $s = 'xyz1'; ;; print '/\d \D/ matches' if $s =~ m{ \d \D }xms; print '/\d (?! \d)/ matches' if $s =~ m{ \d (?! \d) }xms; " /\d (?! \d)/ matches
Give a man a fish: <%-{-{-{-<
|
|---|