Lines Matching refs:re
10 import re
13 # Regex to remove comments when we're counting braces.
14 COMMENT_RE = re.compile(r'\s*#.*')
16 # Regex to remove quoted strings when we're counting braces.
21 QUOTE_RE = re.compile(QUOTE_RE_STR)
30 search_re = re.compile(r'(.*?)(#)(.*)')
43 search_re = re.compile(r'(.*?)' + QUOTE_RE_STR)
64 lines (lines that matche the double_*_brace re's above) before
71 double_open_brace_re = re.compile(r'(.*?[\[\{\(,])(\s*)([\[\{\(])')
72 double_close_brace_re = re.compile(r'(.*?[\]\}\)],?)(\s*)([\]\}\)])')
90 closing_prefix_re = re.compile(r'(.*?[^\s\]\}\)]+.*?)([\]\}\)],?)\s*$')