Page 1 of 1

outdated description

Posted: Wed Feb 22, 2012 8:18 am
by anon
en/faq_internal#filters
Besides of translating filters into regular expressions Adblock Plus also tries to extract text information from them. What it needs is a unique string of eight characters (a "shortcut") that must be present in every address matched by the filter (the length is arbitrary, eight just seems reasonable here). For example, if you have a filter |http://ad.* then Adblock Plus has the choice between "http://a", "ttp://ad" and "tp://ad.", any of these strings will always be present in whatever this filter will match. Unfortunately finding a shortcut for filters that simply don't have eight characters unbroken by wildcards or for filters that have been specified as regular expressions is impossible.
I think there is different after 1.3.5, could you please update it?

Re: outdated description

Posted: Fri Sep 21, 2012 8:12 pm
by Gingerbread Man
This thread could've used a better title.

I was also wondering about this. The minimum seems to be down to a string of 3 characters now.

Re: outdated description

Posted: Fri Nov 16, 2012 10:50 pm
by Crits
For those interested, the new matching algorithm is explained in this topic: forum/viewtopic.php?t=6118