Provided by: libcatmandu-perl_1.2020-1_all 

NAME
Catmandu::Util::Regex - Regex related utility functions
FUNCTIONS
as_regex($str)
Escapes and quotes the given string as a regex.
substituter($search, $replace)
Builds a function that performs a regex substitution.
my $ltrimmer = substituter('^[\h\v]+', '');
$ltrimmer->(" eek! ");
# => "eek! "
perl v5.36.0 2023-03-03 Catmandu::Util::Regex(3pm)