oneOf package:turtle

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

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

>>> match (noneOf "1a") "1"
""