mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
Make pattern matching case insensitive.
This commit is contained in:
parent
80ae7e8250
commit
7bcb31495e
@ -186,7 +186,7 @@ final class RegexQuery implements KeywordSearchQuery {
|
|||||||
for (Object value : fieldValues) {
|
for (Object value : fieldValues) {
|
||||||
String content = value.toString();
|
String content = value.toString();
|
||||||
|
|
||||||
Matcher hitMatcher = Pattern.compile(keywordString).matcher(content);
|
Matcher hitMatcher = Pattern.compile(keywordString, Pattern.CASE_INSENSITIVE).matcher(content);
|
||||||
|
|
||||||
while (hitMatcher.find()) {
|
while (hitMatcher.find()) {
|
||||||
String snippet = "";
|
String snippet = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user