lib/service_adaptors/worldcat_identities.rb in umlaut-3.0.1 vs lib/service_adaptors/worldcat_identities.rb in umlaut-3.0.2
- old
+ new
@@ -382,11 +382,10 @@
end
return nil
end
def clean_oclcnum(num)
- # got the follow from referent.rb ~152 and added ocn
- if num =~ /(ocn0*|ocm0*|\(OCoLC\)|ocl70*|0+)(.*)$/
+ if num =~ /(ocn0*|ocm0*|on0*|\(OCoLC\)|ocl70*|0+)(.*)$/
num = $2
end
return num
end