Home
last modified time | relevance | path

Searched refs:translate_pattern (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/distutils/tests/
Dtest_filelist.py8 from distutils.filelist import glob_to_re, translate_pattern, FileList
134 translate_pattern('a', anchor=True, is_regex=False),
140 translate_pattern(regex, anchor=True, is_regex=True),
145 translate_pattern('a', anchor=True, is_regex=True),
149 self.assertTrue(translate_pattern(
/external/python/cpython2/Lib/distutils/
Dfilelist.py215 pattern_re = translate_pattern(pattern, anchor, prefix, is_regex)
241 pattern_re = translate_pattern(pattern, anchor, prefix, is_regex)
312 def translate_pattern(pattern, anchor=1, prefix=None, is_regex=0): function