From d7e4aff72d8e2eefef2b0166a1b3614a55a640f6 Mon Sep 17 00:00:00 2001 From: kortschak Date: Sat, 23 Aug 2014 10:57:49 +0930 Subject: [PATCH] Fix IRIRef defintions Literal `"` is not allowed in an IRIRef. Fix this. --- quad/cquads/cquads.rl | 3 ++- quad/nquads/nquads.rl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/quad/cquads/cquads.rl b/quad/cquads/cquads.rl index cce8f27..53104f0 100644 --- a/quad/cquads/cquads.rl +++ b/quad/cquads/cquads.rl @@ -73,7 +73,8 @@ ; IRIREF = '<' ( - '!' .. ';' + '!' + | '#' .. ';' | '=' | '?' .. '[' | ']' diff --git a/quad/nquads/nquads.rl b/quad/nquads/nquads.rl index b5b3529..78a047e 100644 --- a/quad/nquads/nquads.rl +++ b/quad/nquads/nquads.rl @@ -64,7 +64,8 @@ ; IRIREF = '<' ( - '!' .. ';' + '!' + | '#' .. ';' | '=' | '?' .. '[' | ']'