pattern matching | ![]() |
![]() |
![]() |
$line =~ /\w+@(\w+\.)+\w+/ and print "looks like an email address\n";
. | match any char | [ ] | class of chars |
? | zero or one | ( ) | grouping |
+ | one or more | ( | ) | alternatives |
* | zero or more | \w | alphanumeric char |
{n,m} | at least n, no more than m | \W | non-alphanumeric |
modules | ![]() |
![]() |
![]() |
misc | ![]() |
![]() |
![]() |
CPAN (local mirror cs.uu.nl)
I will not guarantee that any of these pages will exist indefinately, so please only bookmark the top page. |