Word8 package:attoparsec

Match a specific byte.
Match any byte.
Match any byte except the given one.
Match any byte, to perform lookahead. Returns Nothing if end of input has been reached. Does not consume any input. Note: Because this parser does not fail, do not use it with combinators such as many, because such parsers loop until a failure occurs. Careless use will thus result in an infinite loop.
Match any byte, to perform lookahead. Does not consume any input, but will fail if end of input has been reached.