Hi!
I'm trying to use php-marc-spec to parse the MARCspec 5..$a{^1=3} ("give me the 'a' subfield of all 5xx fields whose first indicator is equal to 3"), but php-marc-spec improperly parses it to lump the subspec in with the subfield:
Array
(
[0] => 5..$a{^1=3}
[field] => 5..
[1] => 5..
[tag] => 5..
[2] => 5..
[subfields] => $a{^1=3}
[4] => $a{^1=3}
)
Am I missing something? It seems like it should be valid MARCspec.
Hi!
I'm trying to use php-marc-spec to parse the MARCspec
5..$a{^1=3}("give me the 'a' subfield of all 5xx fields whose first indicator is equal to 3"), but php-marc-spec improperly parses it to lump the subspec in with the subfield:Am I missing something? It seems like it should be valid MARCspec.