[New-bugs-announce] [issue14510] Regular Expression "+" perform wrong repeat

YunJian report at bugs.python.org
Thu Apr 5 15:47:47 CEST 2012


New submission from YunJian <tld5yj at yahoo.com.cn>:

Regular expression perform wrong result, I use regular expression r'(\$.)+' try to match "$B$b" or something like that, but the script only give back "$b", r'(\$.){1,}', r'(\$.){2}' performed the same, you can take the file I attached for reference and run it, I try to solve it myself but failed, now I must use other ways to realize my aim, so appreciate for you help, thank you!

----------
components: Regular Expressions
files: CheckInconsistency.py
messages: 157588
nosy: ezio.melotti, mrabarnett, tld5yj
priority: normal
severity: normal
status: open
title: Regular Expression "+" perform wrong repeat
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file25136/CheckInconsistency.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14510>
_______________________________________


More information about the New-bugs-announce mailing list