$foo =~ /\ba\b/; # match the word "a" $foo =~ "\ba\b"; # match the three characters # backspace(\x08), "a", backspace
update: changed bell to backspace as per TimToady's nitpick
Dave.
In reply to Re: Regex vs. string
by dave_the_m
in thread Regex vs. string
by BaldPenguin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |