n3 2.13.1 → 2.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/n3.esm.min.js +1 -1
- package/browser/n3.min.js +1 -1
- package/lib/N3Lexer.js +1 -1
- package/package.json +1 -1
- package/src/N3Lexer.js +1 -1
package/lib/N3Lexer.js
CHANGED
|
@@ -136,7 +136,7 @@ class N3Lexer {
|
|
|
136
136
|
if (!(key in lineModeRegExps) && this[key] instanceof RegExp) this[key] = invalidRegExp;
|
|
137
137
|
}
|
|
138
138
|
// The only keyword in N-Triples and N-Quads is VERSION, which is case-sensitive
|
|
139
|
-
this._keyword = /VERSION(?=[\s#<])/y;
|
|
139
|
+
this._keyword = /VERSION(?=[\s#<"])/y;
|
|
140
140
|
}
|
|
141
141
|
// When not in line mode, enable N3 functionality by default
|
|
142
142
|
else {
|
package/package.json
CHANGED
package/src/N3Lexer.js
CHANGED
|
@@ -102,7 +102,7 @@ export default class N3Lexer {
|
|
|
102
102
|
this[key] = invalidRegExp;
|
|
103
103
|
}
|
|
104
104
|
// The only keyword in N-Triples and N-Quads is VERSION, which is case-sensitive
|
|
105
|
-
this._keyword = /VERSION(?=[\s#<])/y;
|
|
105
|
+
this._keyword = /VERSION(?=[\s#<"])/y;
|
|
106
106
|
}
|
|
107
107
|
// When not in line mode, enable N3 functionality by default
|
|
108
108
|
else {
|