Lines Matching refs:stuff
117 stuff = pat[i:j]
118 if '--' not in stuff:
119 stuff = stuff.replace('\\', r'\\')
133 stuff = '-'.join(s.replace('\\', r'\\').replace('-', r'\-')
136 stuff = re.sub(r'([&~|])', r'\\\1', stuff)
138 if stuff[0] == '!':
139 stuff = '^' + stuff[1:]
140 elif stuff[0] in ('^', '['):
141 stuff = '\\' + stuff
142 res = '%s[%s]' % (res, stuff)
151 stuff = pat[i:j]
156 indices = [m.end() for m in re.finditer(r'[^\\],', stuff)]
163 first_part = stuff[:indices[0] - 1].replace(r'\,', ',')
164 last_part = stuff[indices[-1]:].replace(r'\,', ',')
166 stuff[st:en - 1].replace(r'\,', ',')