Home | History | Annotate | Download | only in devtools

Lines Matching refs:rex

66     rex = ['^']
76 rex.append( sep_rex + '(?:.*%s)?' % sep_rex )
78 rex.append( '(?:.*%s)?' % sep_rex )
80 rex.append( sep_rex + '.*' )
82 rex.append( '[^/%s]*' % re.escape(os.path.sep) )
84 rex.append( sep_rex )
86 rex.append( re.escape(match.group(6)) )
88 rex.append('$')
89 return re.compile( ''.join( rex ) )
116 for rex in filter_rexs:
117 if rex.match( full_path ):
193 rex = ant_pattern_to_re( ant_pattern )
194 print('ant_pattern:', ant_pattern, ' => ', rex.pattern)
197 self.assertTrue( rex.match( accepted_match ) is not None )
200 self.assertTrue( rex.match( rejected_match ) is None )