Skip to content

Commit ec139b3

Browse files
committed
Make leading "v" case-insensitive in ipVFuture
1 parent 5e50f14 commit ec139b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dhall/src/Dhall/Parser/Token.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ ipLiteral :: Parser Text
747747
ipLiteral = "[" <> (ipV6Address <|> ipVFuture) <> "]"
748748

749749
ipVFuture :: Parser Text
750-
ipVFuture = "v" <> plus (satisfy hexdig) <> "." <> plus (satisfy predicate)
750+
ipVFuture = ("v" <|> "V") <> plus (satisfy hexdig) <> "." <> plus (satisfy predicate)
751751
where
752752
predicate c = unreserved c || subDelims c || c == ':'
753753

0 commit comments

Comments
 (0)