(self)
| 163 | check(c, '[d-b[-^]', c in r'[\]^') |
| 164 | |
| 165 | def test_sep_in_char_set(self): |
| 166 | check = self.check_match |
| 167 | check('/', r'[/]') |
| 168 | check('\\', r'[\]') |
| 169 | check('/', r'[\]', NORMSEP) |
| 170 | check('\\', r'[/]', NORMSEP) |
| 171 | check('[/]', r'[/]', False) |
| 172 | check(r'[\\]', r'[/]', False) |
| 173 | check('\\', r'[\t]') |
| 174 | check('/', r'[\t]', NORMSEP) |
| 175 | check('t', r'[\t]') |
| 176 | check('\t', r'[\t]', False) |
| 177 | |
| 178 | def test_sep_in_range(self): |
| 179 | check = self.check_match |