![]() |
![]()
| ![]() |
![]()
NAMEOpenXPKI::Connector::Regex;DESCRIPTIONIn match mode (replace is not set), return literal 0|1 if the given argument(s) match the expression for any get call. In case multiple arguments are passed, all arguments must match to get a true result.If get_hash is called, only a single argument is allowed. If matched, the value set in the value parameter is returned (default is the empty hash). If not matched, undef is returned (exception if die_on_undef is set). If invert is set, the pattern match result is inverted - for each item! For multiple arguments this means you get a true result only of no value matches! In replace mode (allowed with get only), the result of the substituion is returned, multiple arguments are not supported. Configuration
|