use Regex::PreSuf; my $re = presuf(qw(foobar fooxar foozap)); # $re should be now 'foo(?:zap|[bx]ar)'
-Mark
In reply to Re: build regexp on a list of patterns
by kvale
in thread build regexp on a list of patterns
by mod_alex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |