sfomuseum / accession-numbers

Machine-readable regular expressions for identifying accession numbers for cultural heritage organizations in text.
Other
6 stars 3 forks source link

Add Museum of New Zealand Te Papa Tongarewa #32

Closed thisisaaronland closed 2 years ago

thisisaaronland commented 2 years ago

Museum of New Zealand Te Papa Tongarewa https://www.tepapa.govt.nz (([A-Z]+[0-9]+[\/A-Z])|((?:\d+)-(?:\d+)-(?:\d++)(\/[A-z\ -]+))) ME001533 2014-0031-1 GH004839 2008-0006-1/A-L to L-L OL000491 SP082549/A

thisisaaronland commented 2 years ago

These have been added as of #aa52195 but tests still fail.

bwyman commented 2 years ago

original regex on top, what you have above, below: (([A-Z]+[0-9]+[\/A-Z]*)|((?:\d+)\-(?:\d+)\-(?:\d++)(\/[A-z\ \-]+)*)) (([A-Z]+[0-9]+[/A-Z])|((?:\d+)-(?:\d+)-(?:\d++)(/[A-z\ -]+)))