We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d9cb11 commit addfecbCopy full SHA for addfecb
1 file changed
app/services/search/query_parser.rb
@@ -29,7 +29,7 @@ class Grammar < Parslet::Parser
29
30
# Bracketed text (treated as plain text, not dependent conditions)
31
rule(:bracketed_text) do
32
- str('[') >> (str(']').absent? >> any).repeat.as(:bracketed_content) >> str(']')
+ str("[") >> (str("]").absent? >> any).repeat.as(:bracketed_content) >> str("]")
33
end
34
35
# Selector keywords - IMPORTANT: longer strings must come before shorter prefixes
0 commit comments