|
NAMEregexp_opt - Convert list of strings to a regular expressionSYNOPSISuse List::Regexp qw(:all);my $s = regexp_opt(@strings); my $s = regexp_opt(\%opts, @strings); DESCRIPTIONReturns a regular expression that will match any string from the input list @strings. First argument can be a reference to a hash, which controls how the regexp is built.Valid keys are:
LICENSEGPLv3+: GNU GPL version 3 or later, see <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. AUTHORSSergey Poznyakoff <gray@gnu.org>
Visit the GSP FreeBSD Man Page Interface. |