Skip to content

Commit edd11e1

Browse files
committed
Fix not reporting match-case properly in logger
Related feedback: - 4d482f9
1 parent 2e37dd6 commit edd11e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/static-net-filtering.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ const FilterRegex = class {
10641064
details.pattern.push('/', s, '/');
10651065
details.regex.push(s);
10661066
details.isRegex = true;
1067-
if ( filterData[idata+1] !== 0 ) {
1067+
if ( filterData[idata+3] !== 0 ) {
10681068
details.options.push('match-case');
10691069
}
10701070
}
@@ -1077,7 +1077,7 @@ const FilterRegex = class {
10771077
filterData[idata+2]
10781078
),
10791079
'/',
1080-
filterData[idata+3] === 1 ? ' (match-case)' : '',
1080+
filterData[idata+3] !== 0 ? ' (match-case)' : '',
10811081
].join('');
10821082
}
10831083
};

0 commit comments

Comments
 (0)