[EMAIL PROTECTED] schreef:

> if ($trig_np =~ m/\d,{1}\d|\d\s{1}\d/)

As long as you understand that "\s" matches SPC, TAB, CR, NL and several
other characters, and "\d" matches [0-9] and many other characters, and
how one day that will bite you, feel free to use "\s" and "\d".

(I would use neither "\s" nor "\d" for this.)

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to