diff --git a/lib/sparql.jison b/lib/sparql.jison index 953cd57e..ffcd7908 100644 --- a/lib/sparql.jison +++ b/lib/sparql.jison @@ -57,7 +57,7 @@ if (iri[0] === '<') iri = iri.substring(1, iri.length - 1); // Return absolute IRIs unmodified - if (/^[a-z]+:/.test(iri)) + if (/^[a-z]+:/i.test(iri)) return iri; if (!Parser.base) throw new Error('Cannot resolve relative IRI ' + iri + ' because no base IRI was set.');