mirror of
https://github.com/elisspace/autopsy.git
synced 2026-10-01 06:49:52 +00:00
Make pattern matching case insensitive.
This commit is contained in:
@@ -186,7 +186,7 @@ final class RegexQuery implements KeywordSearchQuery {
|
||||
for (Object value : fieldValues) {
|
||||
String content = value.toString();
|
||||
|
||||
Matcher hitMatcher = Pattern.compile(keywordString).matcher(content);
|
||||
Matcher hitMatcher = Pattern.compile(keywordString, Pattern.CASE_INSENSITIVE).matcher(content);
|
||||
|
||||
while (hitMatcher.find()) {
|
||||
String snippet = "";
|
||||
|
||||
Reference in New Issue
Block a user