Maybe r.match(.exact, input)
is nicer than to separate functions?
Or maybe a config struct, should there be more options in the future.
One possible such option would be .case_insensitive
, where ascii.toLower()
is called on all ASCII chars for both regex and input.