File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ NewLine = { "\r" | "\n" }
75
75
Var = {"?"~ASCII_ALPHA+~ASCII_ALPHANUMERIC*}
76
76
Prefix = {"@prefix"~SPACE+~PrefixIdentifier~":"~SPACE+~"<"~Iri~">"~WS* ~"."~WS*}
77
77
PrefixIdentifier = {ASCII_ALPHANUMERIC*}
78
- Prefixed = {PrefixIdentifier ~":"~ASCII_ALPHANUMERIC+}
78
+ LocalNameChar = {ASCII_ALPHANUMERIC | "_"}
79
+ Prefixed = {PrefixIdentifier ~":"~LocalNameChar+}
79
80
Term = {"<"~Iri~">" | Prefixed}
80
81
varOrTerm = { Term | Var}
81
82
Subject = { Term | Var}
@@ -85,4 +86,4 @@ TP = { WS*~Subject ~WS+~ Property ~WS+~ Object ~WS* ~"."? ~WS* }
85
86
Body = {"{"~TP+~"}"}
86
87
Head = {"{"~WS*~TP~WS*~"}"}
87
88
rule = { Body~WS*~"=>"~WS*~Head~WS*~"."? ~WS*}
88
- document = {Prefix* ~ NewLine* ~rule+}
89
+ document = {Prefix* ~ NewLine* ~rule+}
You can’t perform that action at this time.
0 commit comments