Module

Text.Parsing.String.UUID

Package
purescript-parsing-uuid
Repository
markfarrell/purescript-parsing-uuid

#lowercase Source

lowercase :: forall m a. StringLike a => Monad m => ParserT a m String

Consumes a valid UUID string (xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx), or fails otherwise. Does not validate UUID version M and UUID variant of N. Fails if the 5th group is followed by additional lowercase hexadecimal characters.

#uppercase Source

uppercase :: forall m a. StringLike a => Monad m => ParserT a m String

Consumes a valid UUID string (xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx), or fails otherwise. Does not validate UUID version M and UUID variant of N. Fails if the 5th group is followed by additional uppercase hexadecimal characters.

#any Source

any :: forall m a. StringLike a => Monad m => ParserT a m String

Consumes a valid UUID string (xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx), or fails otherwise. Does not validate UUID version M and UUID variant of N. Fails if the 5th group is followed by additional hexadecimal characters.