Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cqlsh: learn to tokenize [] and {} brackets

patch by Paul Cannon; reviewed by jbellis for CASSANDRA-4485
  • Loading branch information...
commit 167da95513d415cbeee8f3d33f0cbcc96742f492 1 parent afb2c00
@jbellis jbellis authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  pylib/cqlshlib/cql3handling.py
View
1  pylib/cqlshlib/cql3handling.py
@@ -164,6 +164,7 @@ def dequote_any(cls, t):
<endtoken> ::= ";" ;
<op> ::= /[-+=,().]/ ;
<cmp> ::= /[<>]=?/ ;
+<brackets> ::= /[][{}]/ ;
<unclosedString> ::= /'([^']|'')*/ ;
<unclosedName> ::= /"([^"]|"")*/ ;
Please sign in to comment.
Something went wrong with that request. Please try again.