Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nleanba committed Sep 27, 2024
1 parent 4d6c9e5 commit 1ff1b3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gg2rdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -728,9 +728,9 @@ export function gg2rdf(
)
.replaceAll('"', "")
.replaceAll("'", "")
.replaceAll(/(?:\b\p{Uppercase_Letter}\.\s+)+(\w+)/ug, "$1")
.replaceAll(/(?:\b\p{Uppercase_Letter}\.\s*)+(\w+)/ug, "$1")
.replaceAll(/\s+and\s+/gi, " & ")
.replaceAll(/\s+et\s+([^a])/gi, " & $1")
.replaceAll(/\s+[Ee][Tt]\s+([^a])/g, " & $1")
.replace(/\)\)$/, ")")
.replace(/^\(\(/, "(")
.replace(/^\s*[,:;]+\s*/, "")
Expand Down

0 comments on commit 1ff1b3c

Please sign in to comment.