added and

This commit is contained in:
Lily 2025-04-03 21:15:18 -04:00
parent ce6859d4a8
commit 51c75bbf53
No known key found for this signature in database
GPG key ID: D916CEDDF4F93CE7

View file

@ -10,7 +10,7 @@
peg::parser search(R"( peg::parser search(R"(
Start <- QueryPartList Start <- QueryPartList
~ws <- [ ]+ ~ws <- [ ]+
QueryPartList <- ComplexQueryPart ( ws ("and" ws)? ComplexQueryPart)* ws* QueryPartList <- ComplexQueryPart ( ws ("AND" ws)? ComplexQueryPart)* ws*
ComplexQueryPart <- SomewhatComplexQueryPart ws $or<[O][R]> ws ComplexQueryPart / SomewhatComplexQueryPart ComplexQueryPart <- SomewhatComplexQueryPart ws $or<[O][R]> ws ComplexQueryPart / SomewhatComplexQueryPart