Closed ericprud closed 6 years ago
This text was moved to a response to #74.
I had an action item to draft a proposal for an intuitive token for "any language-tagged string". I ended up using @~ instead of @* (see shex.js example). This worked in shex.js with fewer than 10 changed lines. <#LangString> rdf:langString <#LangStem> [@en~] <#Empty> [@~] <#EmptyExclEN> [@~ - @en] # rejects "ab"@en <#EmptyExclFR> [@~ - @fr] # <#EmptyExclEmpty> [@~ - @~] <-- not valid in grammar # <#DotExclEmpty> [. - @~] <-- not valid in grammar
I had an action item to draft a proposal for an intuitive token for "any language-tagged string". I ended up using @~ instead of @* (see shex.js example). This worked in shex.js with fewer than 10 changed lines.
@~
@*
shex.js
<#LangString> rdf:langString <#LangStem> [@en~] <#Empty> [@~] <#EmptyExclEN> [@~ - @en] # rejects "ab"@en <#EmptyExclFR> [@~ - @fr] # <#EmptyExclEmpty> [@~ - @~] <-- not valid in grammar # <#DotExclEmpty> [. - @~] <-- not valid in grammar
This text was moved to a response to #74.