https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6057





--- Comment #8 from Sidney Markowitz <[email protected]>  2009-02-05 11:41:25 
PST ---
Yes, explaining even esoteric aspects of regexps is outside the scope of a doc
string in the code and of a bugzilla entry. I didn't realize that the reason to
avoid any other backreferences would not be clear, but maybe something can be
mentioned...


redirector_pattern

     A regex pattern that extracts a URI obfuscated by being the target of a
redirector site. The pattern must match the entire redirector plus target. The
target URI is identified by surrounding it in parentheses to make it the one
backreference generated by the pattern: No other may be generated. URI parsing
checks every URI string against every redirector_pattern that is defined.

    Example:
http://chkpt.zdnet.com/chkpt/whatever/http://spammer.domain/yo/dude is
deobfuscated by
      redirector_pattern   
/^https?:\/\/(?:opt\.)?chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to