matching devious non ascii spam strings

Discussion in 'Perl Misc' started by Dan Jacobson, Sep 25, 2004.

  1. Dan Jacobson

    Dan Jacobson Guest

    To match the name of a famous spam drug for spamassassin, I use
    /v[il1\xA0-\xFF]agra/i
    as they now are using all the accented versions of "i".
    I suppose I will have to do the same for the a's etc. too.
    I have just used the entire range I see on "man iso_8859_1" and more,
    rather than whittle it down. I don't suppose there are much better ways.
    Dan Jacobson, Sep 25, 2004
    #1
    1. Advertising

  2. Dan Jacobson wrote:

    > To match the name of a famous spam drug for spamassassin, I use
    > /v[il1\xA0-\xFF]agra/i
    > as they now are using all the accented versions of "i".
    > I suppose I will have to do the same for the a's etc. too.
    > I have just used the entire range I see on "man iso_8859_1" and more,
    > rather than whittle it down. I don't suppose there are much better ways.


    The Bayesian filters worry about that kind of crud automatically.
    Let them do the work.

    --
    Christopher Mattern

    "Which one you figure tracked us?"
    "The ugly one, sir."
    "...Could you be more specific?"
    Chris Mattern, Sep 25, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Don@NoSpam

    Devious linkage to enter Web site

    Don@NoSpam, Jul 5, 2004, in forum: HTML
    Replies:
    3
    Views:
    472
    brucie
    Jul 5, 2004
  2. Massimo Soricetti

    Why C/C++ errors are SO obscure/devious??

    Massimo Soricetti, Aug 30, 2005, in forum: C Programming
    Replies:
    24
    Views:
    647
  3. Jochen Lehmeier

    DBD::Oracle, Unicode, non-UTF8-non-ASCII strings

    Jochen Lehmeier, Jul 23, 2009, in forum: Perl Misc
    Replies:
    0
    Views:
    407
    Jochen Lehmeier
    Jul 23, 2009
  4. bruce
    Replies:
    38
    Views:
    271
    Mark Lawrence
    Nov 1, 2013
  5. MRAB
    Replies:
    0
    Views:
    96
Loading...

Share This Page