Lines Matching refs:re
49 import re
135 # for which we're going to emit descriptive constants.
180 # Construct a dictionary for the classes we're sure should be present.
201 line = re.sub('//.*', '', line.rstrip().lstrip());
207 match = re.match('class (\w[^\s:]*)(: public (\w[^\s{]*))?\s*{',
220 types[re.sub('\s*=.*', '', entry).lstrip()] = True;
233 usetype = re.sub('SYMBOL_', 'STRING_', type);
238 usetype = re.sub('_REGEXP_', '_REG_EXP_', usetype);
284 # representation and encoding and add them if they're not
293 cctype = re.sub('AsciiString$',
296 cctype = re.sub('String$',
300 cctype = re.sub('String$', 'TwoByteString',
304 cctype = re.sub('Ascii', '', cctype);
305 cctype = re.sub('TwoByte', '', cctype);
335 args = re.split('\s*,\s*', rest);