![]() |
![]()
| ![]() |
![]()
NAMEHTML::FormFu::Filter::Regex - regexp-based match/replace filter VERSIONversion 2.07 SYNOPSISThe following filter would turn "1234-5678" into "****-****". type: Regex match: \d replace: * DESCRIPTIONRegular expression-based match / replace filter. METHODSmatchA regex object or string to be used in the "left-hand side" of a "s///g" regular expression. Default Value: qr/./ replaceA string to be used in the "right-hand side" of a "s///g" regular expression. The string will replace every occurrence of "match". Default Value: '' evalArguments: $bool If true, the regex modifier "/e" is used, so that the contents of the "replace" string are "eval"'d. This allows the use of variables such as $1 or any other perl expression. AUTHORCarl Franks, "cfranks@cpan.org" LICENSEThis library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. AUTHORCarl Franks <cpan@fireartist.com> COPYRIGHT AND LICENSEThis software is copyright (c) 2018 by Carl Franks. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|