regex matching things like å õ í ë ã è, etc.
I'm working on a spam filtering script written in perl (which I'm just beginning to learn anyway), and I've gotten pretty fair with pattern matching, but something just stumped me.
How do I match special characters like å, ¿, è, and so forth? When I paste into my telnet client (CRT), it appears as \345, or whatever the proper code is for that character, which I thought would be sufficient. Then I tested it, and it didn't work...
So, then I googled a bit, and saw where someone said that /[à-öø-ÿ]/ should match any of them... And yeah, same thing happened.
So maybe it's not as much a problem with my programming, but my telnet client, or something... Any help please?
|