++ed by:
VOJ

1 PAUSE user(s)
3 non-PAUSE user(s).

Nicolas Steenlant

NAME

Catmandu::Fix::Condition::any_match - only execute fixes if any path value matches the given regex

SYNOPSIS

   # uppercase the value of field 'foo' if field 'oogly' has the value 'doogly'
   if any_match(oogly, "doogly")
     upcase(foo) # foo => 'BAR'
   end

SEE ALSO

Catmandu::Fix




Hosting generously
sponsored by Bytemark