ABP Syntax: Wildcard at the end?

General information, announcements and questions about the EasyList subscriptions.
Locked
huuurz
Site Member
Site Member
Posts: 14
Joined: Sun Feb 12, 2017 4:29 pm

ABP Syntax: Wildcard at the end?

Post by huuurz »

Hi!

What's the difference between

Code: Select all

/_banners/
and

Code: Select all

/_banners/*
The first one (without the wildcard) is flagged as slow filter by a snail, the second one not.

Thanks,
huuurz
User avatar
smed79
Liste AR/FR Author
Liste AR/FR Author
Posts: 15839
Joined: Sun Jan 17, 2010 4:00 am
Location: EasyList Forum

Post by smed79 »

Hi,

no difference but /_banners/ with the snail icon is slow than /_banners/*
Not so slow but the wildcard * make it more efficient.
•► Read RULES / Use forum Search
••► Don't post clickable links
•••►Upload screenshots at imgbb.com
huuurz
Site Member
Site Member
Posts: 14
Joined: Sun Feb 12, 2017 4:29 pm

Post by huuurz »

Yeah that is the strange thing.... although it is the (exact?) same rule, one time it is predicted to be fast, one time slow. Doesn't make sense to me. Maybe an internal technical thing?

Is the one with wildcard really faster? I mean it could just be a bug with the snail shown or not shown. Don't know how to test it.

But actually now that I know the rule is always add a (unnecessary) wildcard at the end, it doesn't really matter anymore. I will use wildcards at the end in cases like this. :banana:
intense
Contributor
Contributor
Posts: 10494
Joined: Wed Mar 27, 2013 9:56 am

Post by intense »

The filter without the wildcard is interpreted as regex filter, so will be slower
huuurz
Site Member
Site Member
Posts: 14
Joined: Sun Feb 12, 2017 4:29 pm

Post by huuurz »

@intense
Thank you, that was the answer I was searching for!
Moved from General Internet Topics to EasyList Subscriptions on Tue Feb 14, 2017 5:40 pm by LanikSJ

Locked