We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57457a9 commit 90f64beCopy full SHA for 90f64be
config/ddc.js
@@ -3,7 +3,7 @@ import jskos from "jskos-tools"
3
const ddc = new jskos.ConceptScheme({
4
uri: "http://dewey.info/scheme/edition/e23/",
5
uriPattern: "^http://dewey.info/class/(.+)/e23/$",
6
- notationPattern: "[0-9][0-9]?|[0-9]{3}(-[0-9]{3})?|[0-9]{3}.[0-9]+(-[0-9]{3}.[0-9]+(:[0-9]+)?)?|T?[1-9][A-Z]?--[0-9]+|[1-9][A-Z]?--[0-9]+(-[1-9][A-Z]?--[0-9]+(:[0-9]+)?)?",
+ notationPattern: "(([0-9][0-9]?|[0-9]{3}(-[0-9]{3})?|[0-9]{3}\\.[0-9]+(-[0-9]{3}\\.[0-9]+(:[0-9]+)?)?|T[1-9][A-Z]?--[0-9]+(-T[1-9][A-Z]?--[0-9]+(:[0-9]+)?)?|[1-9][A-Z]?--[0-9]+(-[1-9][A-Z]?--[0-9]+(:[0-9]+)?)?)?)",
7
})
8
9
// DDC table numbers start with a 'T' but this letter is omitted in the URI.
0 commit comments