peek

fun <T> Parser<T>.peek(): (Parseable) -> Pair<Parseable, T>?

Returns a parser that does not consume input, even if it succeeds