Skip to content

Commit

Permalink
Fix parsing of Synonym
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Feb 28, 2024
1 parent e29d880 commit 42a1d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/obo14.pest
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ SynonymTypeId = { Id }
NamespaceId = { Id }
SubsetId = { Id }

Iri = _{ RFC3987_Iri }
Iri = { RFC3987_Iri }
Id = ${ UrlId | PrefixedId | UnprefixedId }
UrlId = @{ RFC3987_IriScheme ~ "://" ~ RFC3987_IriAuthority ~ RFC3987_IriPathAbempty ~ ("?" ~ RFC3987_IriQuery)? ~ ("#" ~ RFC3987_IriFragment)? }
UnprefixedId = @{ ( !":" ~ NonWsChar )+ }
Expand Down

0 comments on commit 42a1d63

Please sign in to comment.