No combinator for the beginning of a string
jackalcooper opened this issue · comments
Shenghang Tsai commented
- In PEG
^
: Anchor: Matches at the start of the input. No character is consumed.
use case: https://github.com/ziglang/zig-spec/blob/master/grammar/grammar.y#L401
- there is eos in NimbleParsec. It would be nice there is a correspondent combinator to match the beginning of a string