review fixes; waiting for master update

GP-4839 - Decompiler Text Finder - Added the ability to search decompiled text
This commit is contained in:
dragonmacher 2024-10-28 17:39:11 -04:00
parent 9e589a451a
commit 90eba4f9e0
32 changed files with 1815 additions and 524 deletions

View file

@ -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);
}