From d98762893577159dff46f61fb4363c93523a7d71 Mon Sep 17 00:00:00 2001 From: Zach H Date: Wed, 25 Dec 2024 00:58:59 -0500 Subject: [PATCH] Reorder String options for Filtering (#5324) --- cockatrice/src/game/filters/filter_string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/game/filters/filter_string.cpp b/cockatrice/src/game/filters/filter_string.cpp index 32a448977..a02cda36d 100644 --- a/cockatrice/src/game/filters/filter_string.cpp +++ b/cockatrice/src/game/filters/filter_string.cpp @@ -48,7 +48,7 @@ NonDoubleQuoteUnlessEscaped <- '\\\"'. / !["]. NonSingleQuoteUnlessEscaped <- "\\\'". / ![']. UnescapedStringListPart <- !['":<>=! ]. SingleApostropheString <- (UnescapedStringListPart+ ws*)* ['] (UnescapedStringListPart+ ws*)* -String <- UnescapedStringListPart+ / ["] ["] / ['] ['] / SingleApostropheString +String <- SingleApostropheString / UnescapedStringListPart+ / ["] ["] / ['] ['] StringValue <- String / [(] StringList [)] StringList <- StringListString (ws? [,] ws? StringListString)* StringListString <- UnescapedStringListPart+