eof package:turtle

Matches the end of input
>>> match eof "1"
[]

>>> match eof ""
[()]
Match anything other than the given characters
>>> match (noneOf "2a") "1"
"1"

>>> match (noneOf "1a") "1"
""
Match any one of the given characters
>>> match (oneOf "1a") "1"
"1"

>>> match (oneOf "2a") "1"
""