Interface FirstFullyConsumedChar

This is equivalent to a regex fragment [char].

Hierarchy

  • FirstFullyConsumedChar

Properties

Properties

char: CharSet

A super set of the first character.

We can usually only guarantee a super set because lookaround in the pattern may narrow down the actual character set.

empty: false

If true, then the first character also includes the empty word.

exact: boolean

If true, then char is guaranteed to be exactly the first character and not just a super set of it.