mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
fixed double regex issue
This commit is contained in:
parent
79d61f3686
commit
c68a3ad29c
@ -193,7 +193,7 @@ final class InlineSearcher {
|
||||
|
||||
while (hitMatcher.find(offset)) {
|
||||
|
||||
String hit = hitMatcher.group();
|
||||
String hit = hitMatcher.group().toLowerCase();
|
||||
|
||||
/**
|
||||
* No need to continue on if the the string is "" nothing to
|
||||
|
@ -574,7 +574,7 @@ final class RegexQuery implements KeywordSearchQuery {
|
||||
*/
|
||||
Collection<BlackboardAttribute> attributes = new ArrayList<>();
|
||||
|
||||
attributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_KEYWORD, MODULE_NAME, foundKeyword.getSearchTerm()));
|
||||
attributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_KEYWORD, MODULE_NAME, foundKeyword.getSearchTerm().toLowerCase()));
|
||||
if(!originalKW.searchTermIsWholeWord()) {
|
||||
attributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_KEYWORD_REGEXP, MODULE_NAME, originalKW.getSearchTerm()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user