Should be:$line = 'if($appliance =~ /toilet(32)/)';
In a simple one-liner?$line = 'if($appliance =~ /toilet\(32\)/)';
Cheers!
In reply to Re^2: Regex help
by bingohighway
in thread Regex help
by bingohighway
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |