You can factor out bits of a regular expression, and pre-compile them using the qr() operator:
my $H = qr{abjdk|adfkj}; if ($thisstring =~ $H) { # do stuff }
In reply to Re: is this a regexp question ?
by bikeNomad
in thread is this a regexp question ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |