mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Fix exact search (#8357)
This commit is contained in:
@@ -43,7 +43,7 @@ public abstract class AdvancedSearchParser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String key = token.substring(0, index).trim().toLowerCase();
|
String key = token.substring(0, index).trim().toLowerCase();
|
||||||
String valueStr = token.substring(index + opUsed.length()).trim().toLowerCase();
|
String valueStr = token.substring(index + opUsed.length()).toLowerCase();
|
||||||
boolean creatureOnly = false;
|
boolean creatureOnly = false;
|
||||||
|
|
||||||
Predicate<CardRules> predicate = null;
|
Predicate<CardRules> predicate = null;
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ public class SFilterUtil {
|
|||||||
|
|
||||||
if (ch == '"') {
|
if (ch == '"') {
|
||||||
inQuotes = !inQuotes;
|
inQuotes = !inQuotes;
|
||||||
|
current.append(ch);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user