NAME
Catmandu::Fix::Condition::pica_match - Conditionals on PICA fields
SYNOPSIS
# pica_match(PICA_PATH,REGEX)
if pica_match('021A$a','^My funny title$')
	add_field('my.funny.title','true')
end
# pica_match(PICA_PATH)  # checks whether a field exists
# pica_match($9)      # checks whether a subfield exists
if pica_match('001$U0')
	add_field('my.encode_info','true')
end
DESCRIPTION
Check whether at least one PICA field or subfield exists or its value matches a regular expression.