Regex makes sense to be used on single words (or a couple of words).
Depending on input, enable or disable it.
Also show equivalence table to user when they choose regex.
Possibly also let them modify it it.
To illustrate equivalence tables, for contemporary English, it could be something like:
Regex makes sense to be used on single words (or a couple of words).
Depending on input, enable or disable it.
Also show equivalence table to user when they choose regex.
Possibly also let them modify it it.
To illustrate equivalence tables, for contemporary English, it could be something like: