4 ms·
Doesn't that regex detect correct spellings instead of wrong ones? I.e. it matches tier, tie, etc.
by quelltext 7y ago
Doesn't that regex detect correct spellings instead of wrong ones? I.e. it matches tier, tie, etc.
- floatingatoll 7y agoYes. Good eye :) The other comment is also quite accurate: it doesn’t properly grasp phonetics.
- quelltext 7y agoFWIW, I agree with your argument (I guess). Regular expressions are complex and oftentimes a tool might be necessary to get a better idea of what an expression will match. However, if we were to make the language to describe them more verbose that'd still not solve this issue. Having a concise way to describe them is a good thing. Those who grok them can do so quickly without having to read several lines of a more descriptive language and those who need assistance can still plug them into a tool.