withif($filecontents =~ /$word/smg) {
and now you can do literal searches.if($filecontents =~ /\Q$word/smg) {
In reply to Re: regex: finding something followed explicitly by a dot
by bart
in thread regex: finding something followed explicitly by a dot
by rmexico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |