- or download this
$t->prompt('/TERM\s/=\s/(hp/)\s/');
- or download this
$t->prompt('/TERM\s=\s\(hp\)\s/');
- or download this
use strict;
use warnings;
...
__DATA__
TERM\s/=\s/(hp/)\s
TERM\s=\s\(hp\)\s
- or download this
TERM\s/=\s/(hp/)\s Does not match
TERM\s=\s\(hp\)\s Matches