mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
review fixes; waiting for master update
GP-4839 - Decompiler Text Finder - Added the ability to search decompiled text
This commit is contained in:
parent
9e589a451a
commit
90eba4f9e0
32 changed files with 1815 additions and 524 deletions
|
@ -305,10 +305,11 @@ public class UserSearchUtils {
|
|||
*/
|
||||
private static String convertUserInputToRegex(String input, boolean allowGlobbing) {
|
||||
|
||||
// Note: Order is important! (due to how escape characters added and checked)
|
||||
String escaped = escapeEscapeCharacters(input);
|
||||
|
||||
String escaped = input;
|
||||
if (allowGlobbing) {
|
||||
|
||||
// Note: Order is important! (due to how escape characters added and checked)
|
||||
escaped = escapeEscapeCharacters(input);
|
||||
escaped = escapeNonGlobbingRegexCharacters(input);
|
||||
escaped = convertGlobbingCharactersToRegex(escaped);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue