Nicolas Steenlant > Catmandu > Catmandu::Fix::replace_all

Download:
Catmandu-0.9204.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Catmandu::Fix::replace_all - search and replace using regex expressions

SYNOPSIS ^

   # Extract a substring out of the value of a field
   # {author => "tom jones"}
   replace_all(author, '([^ ]+) ([^ ]+)', '$2, $1')
   # {author => "jones, tom"}

SEE ALSO ^

Catmandu::Fix

syntax highlighting: