Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
HTML::FormFu::Filter::UserxContributed Perl DocuHTML::FormFu::Filter::Regex(3)

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

VERSION
       version 2.05

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.

perl v5.24.1			  2016-10-07	HTML::FormFu::Filter::Regex(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | METHODS | AUTHOR | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=HTML::FormFu::Filter::Regex&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help