NAME Parv::Util::Regex - Regular expressions related functions SYNOPSIS use Parv::Util::Regex qw( all ); use Parv::Util::Regex qw( array_to_regex if_match regex_match_any regex_match_all value_match_any value_match_all ); DESCRIPTION Parv::Util::Regex, 0.00, is functional module. All or some of the subroutines can be imported as desired; nothing is exported implicitly. To import all the functions... use Parv::Util::Array qw( all ); To import only &array_to_regex ... use Parv::Util::Array qw( array_to_regex ); INTERFACE &array_to_regex *Input*: List of array references *Output*: Compiled regex of OR'd unique elements &if_match *Input*: A regex and a value to be matched, in that order *Output*: 1 if value matches regex, else 0 ®ex_match_any *Input*: A regex and array reference of values to be matched, in that order *Output*: 1 if any value matches regex, else 0 &value_match_any *Input*: A regex and array reference of values to be matched, in that order *Output*: 1 if value matches any regex, else 0 ®ex_match_all *Input*: A regex and array reference of values to be matched, in that order *Output*: 1 if all values match regex, else 0 &value_match_all *Input*: An array reference of regexen and a value to be matched, in that order *Output*: 1 if value matches all regexen, else 0