GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HTML::FORMFU::FILTER::REGEX (3)

.ds Aq ’

NAME

HTML::FormFu::Filter::Regex - regexp-based match/replace filter

CONTENTS

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 occurrence of match.

Default Value: ’’

    eval

Arguments: $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.

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTML::FORMFU::FILTER::REGEX (3) 2014-05-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.