[IUG] Holdings cleanup with Regular Expressions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I'm trying to identify problems in our serials holdings statements using
RegEx. We apparently have quite a few that look like:
v.13 (1981/1982)-24:2 (1993)-33:3 (2003)
...which is ambiguous, to say the least. I want to identify all the
instances of the pattern:
enum (chron)-enum (chron)-enum (chron)
I have tried various strategies, without full success. My latest:
HOLDINGS MARC Tag 866|a matches "[)]-.*[^;-][)]-"
OR HOLDINGS MARC Tag 867|a matches "[)]-.*[^;-][)]-"
partially worked, but also picked up:
v.41 no.1-3 (1974);v.42 (1975)-v.70 no.2 (2003)
I'm obviously not there yet and wondered if anyone (Richard?) had
suggestions for refining the query.
Thanks!
--Geoffrey
------------------------
Geoffrey Skinner
Technical Services Coordinator
Sonoma State University Library
1801 East Cotati Ave.
Rohnert Park, CA 94928
skinnerg at sonoma dot edu
707-664-3310 (phone)
707-664-2876 (fax)