Skip to content

Commit

Permalink
add ( to BaseAuthority in URI
Browse files Browse the repository at this point in the history
this should improve the ability to find wrong annotations
  • Loading branch information
nleanba committed Dec 20, 2024
1 parent 6670f76 commit 4e0862a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gg2rdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ export function gg2rdf(
authorityName = substringBefore(authorityName, ",");
// Take Last Name
authorityName = substringAfter(authorityName, " ");
const match = authorityName.match(/\p{L}+/u);
const match = authorityName.match(/\(?\p{L}+/u);
if (match && match[0]) return partialURI(match[0]);
return partialURI(authorityName);
}
Expand Down

0 comments on commit 4e0862a

Please sign in to comment.