I have a regex that I need to filter messages containing the words
gratis, grátis, grétis, grâtis, grôtis......
So I thinkg this should be easy just like /gr.tis/ but it does not work. I am using this regex on Centos to filter emails using postfix.
The problem is that if the message contains "gratis" it gets filtered, but if it contains "grátis" or "grétis"... it does not. What is going on?
EDIT for some reason .{1,5} worked. Why?