We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e50f14 commit f651583Copy full SHA for f651583
dhall/src/Dhall/Parser/Token.hs
@@ -835,7 +835,7 @@ decOctet =
835
predicate c = '\x30' <= c && c <= '\x35'
836
837
domain :: Parser Text
838
-domain = domainLabel <> star ("." <> domainLabel ) <> option "."
+domain = domainLabel <> star (try ("." <> domainLabel )) <> option "."
839
840
domainLabel :: Parser Text
841
domainLabel = plus alphaNum_ <> star (plus "-" <> plus alphaNum_)
0 commit comments