This is a homework question that I have only been able to partially solve.
I want to use
grep to find words in a list that contain three 'e's separated by 't's, and also do an accent insensitive search.
The closest I could get with regular expressions was this:
grep 'e.*t.*e.*t.*e' mylist
I get two issues with this:
- I don't understand how to do an accent insensitive search with a pattern like this. I've only heard of equivalence class operators recently and I don't know how to include them in the syntax of my search.
- The matched patterns I get with this search do not include repeating 't's.