XP is just a number | |
PerlMonks |
Re: Pattern Matching help neededby tos (Deacon) |
on Jun 27, 2003 at 14:13 UTC ( [id://269586]=note: print w/replies, xml ) | Need Help?? |
if you are in doubt about whether a character is a metacharacter in a regex, there is no harm in tyring to escape the sign. Then f.i. you could do this with the '@'-sign as you did it with the dot. For letters and numbers you should use the \w-metacharacter. \s means all sorts of whitespaces. so should do the job. Apart from that is a view at man perlre highly recommended. greetings, tos
In Section
Seekers of Perl Wisdom
|
|