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', '*')
55 check = self.check_match
56 check('abc', 'abc', True, fnmatchcase)
57 check('AbC', 'abc', False, fnmatchcase)
58 check('abc', 'AbC', False, fnmatchcase)
59 check('AbC', 'AbC', True, fnmatchcase)
61 check('usr/bin', 'usr/bin', True, fnmatchcase)
62 check('usr\\bin', 'usr/bin', False, fnmatchcase)
63 check('usr/bin', 'usr\\bin', False, fnmatchcase)
64 check('usr\\bin', 'usr\\bin', True, fnmatchcase)
73 check = self.check_match
74 check('abc', 'abc')
75 check('AbC', 'abc', ignorecase)
76 check('abc', 'AbC', ignorecase)
77 check('AbC', 'AbC')
81 check = self.check_match
82 check('usr/bin', 'usr/bin')
83 check('usr\\bin', 'usr/bin', normsep)
84 check('usr/bin', 'usr\\bin', normsep)
85 check('usr\\bin', 'usr\\bin')
90 check = self.check_match
91 check('[', '[[]')
92 check('&', '[a&&b]')
93 check('|', '[a||b]')
94 check('~', '[a~~b]')
95 check(',', '[a-z+--A-Z]')
96 check('.', '[a-z--/A-Z]')