We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a6e330 commit 667e843Copy full SHA for 667e843
mode/sparql/sparql.js
@@ -95,7 +95,7 @@ CodeMirror.defineMode("sparql", function(config) {
95
}
96
97
function eatPnLocal(stream) {
98
- while (stream.match(/([:\w\d._-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-fA-F0-9][a-fA-F0-9])/));
+ stream.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i);
99
100
101
function tokenLiteral(quote) {
0 commit comments