NAME
Catmandu::Fix::Condition::marc_match - Test if a MARC (sub)field matches a value
SYNOPSIS
# marc_match(MARC_PATH,REGEX)
if marc_match('245','My funny title')
add_field('my.funny.title','true')
end
DESCRIPTION
Evaluate the enclosing fixes only if the MARC (sub)field matches a regular expression.
METHODS
marc_match(MARC_PATH, REGEX)
Evaluates to true when the MARC_PATH values matches the REGEX, false otherwise.