NAME
Catmandu::Fix::Condition::pica_match - Conditionals on PICA fields
SYNOPSIS
# pica_match(PICA_PATH,REGEX)
if pica_match('021Aa','My funny title')
add_field('my.funny.title','true')
end
# pica_match(PICA_PATH)
# checks weather a field exists
if pica_match('001U0')
add_field('my.encode_info','true')
end
DESCRIPTION
Read our Wiki pages at https://github.com/LibreCat/Catmandu/wiki/Fixes for a complete overview of the Fix language.