[New-bugs-announce] [issue5020] Regex Expression Error

sleepyfish report at bugs.python.org
Wed Jan 21 06:52:36 CET 2009


New submission from sleepyfish <huangpeng1126 at 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 <report at bugs.python.org>
<http://bugs.python.org/issue5020>
_______________________________________


More information about the New-bugs-announce mailing list