Lines Matching refs:check
22 check = self.check_match
23 check('abc', 'abc')
24 check('abc', '?*?')
25 check('abc', '???*')
26 check('abc', '*???')
27 check('abc', '???')
28 check('abc', '*')
29 check('abc', 'ab[cd]')
30 check('abc', 'ab[!de]')
31 check('abc', 'ab[de]', False)
32 check('a', '??', False)
33 check('a', 'b', False)
37 check('\\', r'[\]')
38 check('a', r'[!\]')
39 check('\\', r'[!\]', False)
43 check('foo\nbar', 'foo*')
44 check('foo\nbar\n', 'foo*')
45 check('\nfoo', 'foo*', False)
46 check('\n', '*')
49 check = self.check_match
50 check('a' * 50, '*a*a*a*a*a*a*a*a*a*a')
53 check('a' * 50 + 'b', '*a*a*a*a*a*a*a*a*a*a', False)
62 check = self.check_match
63 check('abc', 'abc', True, fnmatchcase)
64 check('AbC', 'abc', False, fnmatchcase)
65 check('abc', 'AbC', False, fnmatchcase)
66 check('AbC', 'AbC', True, fnmatchcase)
68 check('usr/bin', 'usr/bin', True, fnmatchcase)
69 check('usr\\bin', 'usr/bin', False, fnmatchcase)
70 check('usr/bin', 'usr\\bin', False, fnmatchcase)
71 check('usr\\bin', 'usr\\bin', True, fnmatchcase)
80 check = self.check_match
81 check('abc', 'abc')
82 check('AbC', 'abc', ignorecase)
83 check('abc', 'AbC', ignorecase)
84 check('AbC', 'AbC')
88 check = self.check_match
89 check('usr/bin', 'usr/bin')
90 check('usr\\bin', 'usr/bin', normsep)
91 check('usr/bin', 'usr\\bin', normsep)
92 check('usr\\bin', 'usr\\bin')
97 check = self.check_match
98 check('[', '[[]')
99 check('&', '[a&&b]')
100 check('|', '[a||b]')
101 check('~', '[a~~b]')
102 check(',', '[a-z+--A-Z]')
103 check('.', '[a-z--/A-Z]')