We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
match-case
1 parent 2e37dd6 commit edd11e1Copy full SHA for edd11e1
src/js/static-net-filtering.js
@@ -1064,7 +1064,7 @@ const FilterRegex = class {
1064
details.pattern.push('/', s, '/');
1065
details.regex.push(s);
1066
details.isRegex = true;
1067
- if ( filterData[idata+1] !== 0 ) {
+ if ( filterData[idata+3] !== 0 ) {
1068
details.options.push('match-case');
1069
}
1070
@@ -1077,7 +1077,7 @@ const FilterRegex = class {
1077
filterData[idata+2]
1078
),
1079
'/',
1080
- filterData[idata+3] === 1 ? ' (match-case)' : '',
+ filterData[idata+3] !== 0 ? ' (match-case)' : '',
1081
].join('');
1082
1083
};
0 commit comments