Skip to content

Commit

Permalink
[kotlin mode] Fix issue in tokenizing prefixed URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Mar 30, 2021
1 parent 0a6e330 commit 667e843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mode/sparql/sparql.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ CodeMirror.defineMode("sparql", function(config) {
}

function eatPnLocal(stream) {
while (stream.match(/([:\w\d._-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-fA-F0-9][a-fA-F0-9])/));
stream.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i);
}

function tokenLiteral(quote) {
Expand Down

0 comments on commit 667e843

Please sign in to comment.