Carl Franks > HTML-FormFu-0.03002 > HTML::FormFu::Filter::Regex

Download:
HTML-FormFu-0.03002.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View Bugs
Report a bug
Source   Latest Release: HTML-FormFu-0.05001

NAME ^

HTML::FormFu::Filter::Regex

SYNOPSIS ^

The following filter would turn 1234-5678 into ****-****.

    type: Regex
    match: \d
    replace: *

DESCRIPTION ^

Regular expression-based match / replace filter.

METHODS ^

match

A regex object or string to be used in the "left-hand side" of a s///g regular expression.

Default Value: qr/./

replace

A string to be used in the "right-hand side" of a s///g regular expression. The string will replace every occurance of "match".

Default Value: ''

AUTHOR ^

Carl Franks, cfranks@cpan.org

LICENSE ^

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.