$ perl -le '$_ = "blort";if (/^\s*$/) { print "always matches" } else +{ print "Orly?" }' Orly?
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re^2: Explaining a Regular Expression
by Fletch
in thread Explaining a Regular Expression
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |