Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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

Name

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

See Also

       Catmandu::Fix

perl v5.40.0                                       2025-01-17                    Catmandu::Fix::replace_all(3pm)

Synopsis

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

See Also