Edward Summers wrote:
Deleting subfields is a bit tricky since subfields may
repeat, and sometimes people just want to delete one of them. An
unfortunate state of affairs perhaps.
Yeah, I can see what you're saying, but doesn't that also apply to
repeatable fields? If a particular subfield
On Apr 29, 2006, at 1:08 AM, Mark Jordan wrote:
Edward Summers wrote:
Deleting subfields is a bit tricky since subfields may repeat, and
sometimes people just want to delete one of them. An unfortunate
state of affairs perhaps.
Yeah, I can see what you're saying, but doesn't that also
Edward Summers wrote:
That could work if subfields were objects, but they're just strings. It
could simply delete all of them unless a second parameter is passed in,
which would basically act like a filter:
$field-delete_subfield('a', qr/badsubject/);
That sounds pretty good, though I'm
Edward Summers wrote:
On Apr 29, 2006, at 1:08 AM, Mark Jordan wrote:
Edward Summers wrote:
Deleting subfields is a bit tricky since subfields may repeat, and
sometimes people just want to delete one of them. An unfortunate
state of affairs perhaps.
Yeah, I can see what you're saying, but