mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-28 17:43:54 -07:00
Update UnescapedStringListPart to include parentheses (#6631)
* Update UnescapedStringListPart to include parentheses * also update deck_filter_string * add unit test --------- Co-authored-by: RickyRister <ricky.rister.wang@gmail.com>
This commit is contained in:
parent
12c667afd7
commit
7ad2481e3d
3 changed files with 4 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ GenericQuery <- String
|
|||
|
||||
NonDoubleQuoteUnlessEscaped <- '\\\"'. / !["].
|
||||
NonSingleQuoteUnlessEscaped <- "\\\'". / !['].
|
||||
UnescapedStringListPart <- !['":<>=! ].
|
||||
UnescapedStringListPart <- !['":<>()=! ].
|
||||
SingleApostropheString <- (UnescapedStringListPart+ ws*)* ['] (UnescapedStringListPart+ ws*)*
|
||||
|
||||
String <- SingleApostropheString / UnescapedStringListPart+ / ["] <NonDoubleQuoteUnlessEscaped*> ["] / ['] <NonSingleQuoteUnlessEscaped*> [']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue