Lines Matching refs:_re
89 import re as _re namespace
186 self._whitespace_matcher = _re.compile(r'\s+', _re.ASCII)
187 self._long_break_matcher = _re.compile(r'\n\n\n+')
336 opt_parts = _re.findall(part_regexp, opt_usage)
337 pos_parts = _re.findall(part_regexp, pos_usage)
484 text = _re.sub(r'(%s) ' % open, r'\1', text)
485 text = _re.sub(r' (%s)' % close, r'\1', text)
486 text = _re.sub(r'%s *%s' % (open, close), r'', text)
487 text = _re.sub(r'\(([^|]*)\)', r'\1', text)
1347 self._negative_number_matcher = _re.compile(r'^-\d+$|^-\d*\.\d+$')
2141 match = _re.match(nargs_pattern, arg_strings_pattern)
2168 match = _re.match(pattern, arg_strings_pattern)