Lines Matching refs:re
14 import re
44 re.DOTALL)
47 re.DOTALL)
50 re.MULTILINE)
54 re.MULTILINE)
287 return re.sub('(content|background|[\w-]*-image):[^;]*' +
298 return re.sub('url\((?P<quote>"|\'|)(?P<filename>[^"\'()]*)(?P=quote)\)',
306 return re.sub('@import\s+url\((?P<quote>"|\'|)(?P<filename>[^"\'()]*)' +
316 # InlineScript, InlineCSSFile and InlineIncludeFiles on text we're eventually
323 flat_text = re.sub('<script (?P<attrs1>.*?)src="(?P<filename>[^"\']*)"' +