New submission from sleepyfish <huangpeng1...@gmail.com>:

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

----------
components: Regular Expressions
messages: 80317
nosy: sleepyfish
severity: normal
status: open
title: Regex Expression Error
type: crash
versions: Python 2.6, Python 3.0

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to