Scanner can easily be non-regular.
Especially in that case, when the irregularity is as trivial as incrementing/decrementing a counter.
Scanner can easily be non-regular.
Especially in that case, when the irregularity is as trivial as incrementing/decrementing a counter.