Revision 5358
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/sql.py | ||
---|---|---|
1023 | 1023 |
|
1024 | 1024 |
def paren_re(re_): return r'(?:'+re_+r'|\('+re_+r'\))' |
1025 | 1025 |
|
1026 |
true_re = paren_re(r'true')
|
|
1027 |
false_re = paren_re(r'false')
|
|
1026 |
true_re = r'true'
|
|
1027 |
false_re = r'false'
|
|
1028 | 1028 |
bool_re = r'(?:'+true_re+r'|'+false_re+r')' |
1029 | 1029 |
|
1030 | 1030 |
def logic_op_re(op, value_re): |
Also available in: Unified diff
sql.py: true_re, false_re: Removed no longer needed paren_re() because simplify_parens() now handles this