HTML::FormFu::Filter::Regex - regexp-based match/replace filter
version 2.05
The following filter would turn 1234-5678 into ****-****.
1234-5678
****-****
type: Regex match: \d replace: *
Regular expression-based match / replace filter.
A regex object or string to be used in the "left-hand side" of a s///g regular expression.
s///g
Default Value: qr/./
A 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: ''
Arguments: $bool
If true, the regex modifier /e is used, so that the contents of the "replace" string are eval'd.
/e
eval
This allows the use of variables such as $1 or any other perl expression.
$1
Carl Franks, cfranks@cpan.org
cfranks@cpan.org
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTML::FormFu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::FormFu
CPAN shell
perl -MCPAN -e shell install HTML::FormFu
For more information on module installation, please visit the detailed CPAN module installation guide.