For letters and numbers you should use the \w-metacharacter. \s means all sorts of whitespaces.
so
should do the job.$match =~ /\@(\w+)\./;
Apart from that is a view at man perlre highly recommended.
greetings, tos
In reply to Re: Pattern Matching help needed
by tos
in thread Pattern Matching help needed
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |