Il 18/05/2021 15:27, Henrik K ha scritto:
Instead of \x{00E0}, you need to use \xC3\xA0 as you are matching_separate_
raw bytes. (untested, but assuming so from the url, too busy to test)

Yes, it works. I was confusing, the Spamassassin documentation is right.
I really have to use non capturing group in order to match the UTF8 characters, very long regexp!

/([àèìòù])/  -->
/([(?:\xE0|\xC3\xA0)(?:\xE8|\xC3\xA8)(?:\xEC|\xC3\xAC)(?:\xF2|\xC3\xB2)(?:\xF9|\xC3\xB9)(?:\xC0|\xC3\x80)(?:\xC8|\xC3\x88)(?:\xCC|\xC3\x8C)(?:\xD2|\xC3\x92)(?:\xD9|\xC3\x99)])/

Thank you very much

Kind Regards
Marco

Reply via email to