in reply to Re: Regex help
in thread Regex help

Is there a way of running quotemeta between bounds however, e.g.
$line = 'if($appliance =~ /toilet(32)/)';
Should be:
$line = 'if($appliance =~ /toilet\(32\)/)';
In a simple one-liner?

Cheers!