Issue 5020: Regex Expression Error (original) (raw)

import re re.match(r'[/- ]','/') crash, but re.match(r'[ /-]','/'), or re.match(r'[/ -]','/'), or re.match(r'[ -/]','/') ...

only when the match pattern is r'[/-]', the program crash

I run it in version 2.6.1 and version 3.0, both having the same problem