I am implementing few string replacers, with these conversions in mind
'thou sittest' → 'you sit'
'thou walkest' → 'you walk'
'thou liest' → 'you lie'
'thou risest' → 'you rise'
If I keep it naive it is possible to use regex for this case to find & replace, like thou [a-z]+est
But the trouble comes in English verbs that end with e
because based on the context I need to trim the est
in some & trim just st
in the rest
What is the quick-dirty solution to achieve this?