in reply to Re: Re: Dynamic regexp from array values
in thread Dynamic regexp from array values
Actually my $regex = qr(join '|', map "\Q$_\E", @vals) will optimize the pattern matchingHrm, that's debatable, check out diotalevi's reply in meaning of /o in regexes.
_________
broquaint
|
|---|