Project

General

Profile

« Previous | Next » 

Revision 5344

sql.py: Added true_re, false_re

View differences:

lib/sql.py
1022 1022

  
1023 1023
def paren_re(re_): return r'(?:'+re_+r'|\('+re_+r'\))'
1024 1024

  
1025
true_re = paren_re(r'true')
1026
false_re = paren_re(r'false')
1025 1027
bool_re = paren_re(r'(?:true|false)')
1026 1028

  
1027 1029
def simplify_expr(expr):

Also available in: Unified diff