Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.

Commit 4a2e0a1

Browse files
committed
exception cosmetic filters improperly parsed
1 parent 7bcf1bf commit 4a2e0a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/abp-hide-filters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ var FilterParser = function() {
167167
this.hostnames = [];
168168
this.invalid = false;
169169
this.unsupported = false;
170-
this.reParser = /^\s*([^#]*)(#[#@])(.+)\s*$/;
170+
this.reParser = /^\s*([^#]*)(##|#@#)(.+)\s*$/;
171171
this.rePlain = /^([#.][\w-]+)/;
172172
this.rePlainMore = /^[#.][\w-]+[^\w-]/;
173173
this.reElement = /^[a-z]/i;

0 commit comments

Comments
 (0)