Lines Matching defs:RE
219 RE = re.compile(r'(^|\n)[ ]{0,3}>[ ]?(.*)')
222 return bool(self.RE.search(block))
226 m = self.RE.search(block)
246 m = self.RE.match(line)
259 RE = re.compile(r'^[ ]{0,3}\d+\.[ ]+(.*)')
266 return bool(self.RE.match(block))
327 RE = re.compile(r'^[ ]{0,3}[*+-][ ]+(.*)')
334 RE = re.compile(r'(^|\n)(?P<level>#{1,6})(?P<header>.*?)#*(\n|$)')
337 return bool(self.RE.search(block))
341 m = self.RE.search(block)
350 # Create header using named groups from RE
365 RE = re.compile(r'^.*?\n[=-]{3,}', re.MULTILINE)
368 return bool(self.RE.match(block))
387 RE = r'[ ]{0,3}(?P<ch>[*_-])[ ]?((?P=ch)[ ]?){2,}[ ]*'
389 SEARCH_RE = re.compile(r'(^|\n)%s(\n|$)' % RE)
391 MATCH_RE = re.compile(r'^%s$' % RE)
423 RE = re.compile(r'^\s*\n')
426 return bool(self.RE.match(block))
430 m = self.RE.match(block)