Fix not reporting `match-case` properly in logger

Related feedback:
- 4d482f9133
This commit is contained in:
Raymond Hill 2021-12-13 07:01:04 -05:00
parent 2e37dd694a
commit edd11e16fa
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 2 deletions

View File

@ -1064,7 +1064,7 @@ const FilterRegex = class {
details.pattern.push('/', s, '/');
details.regex.push(s);
details.isRegex = true;
if ( filterData[idata+1] !== 0 ) {
if ( filterData[idata+3] !== 0 ) {
details.options.push('match-case');
}
}
@ -1077,7 +1077,7 @@ const FilterRegex = class {
filterData[idata+2]
),
'/',
filterData[idata+3] === 1 ? ' (match-case)' : '',
filterData[idata+3] !== 0 ? ' (match-case)' : '',
].join('');
}
};