[New-bugs-announce] [issue35653] All regular expression match groups are the empty string

adiba report at bugs.python.org
Thu Jan 3 16:29:10 EST 2019


New submission from adiba <adib1234 at hotmail.de>:

This is the regular expression: ^(?:(\d*)(\D*))*$
This is the test string: 42AZ
This is the expectation for the match groups: ('42', 'AZ')
This is the actual return value: ('', '')

https://gist.github.com/adiba/791ba943a1102994d43171dc98aaecd0

----------
components: Regular Expressions
messages: 332948
nosy: adiba, ezio.melotti, mrabarnett
priority: normal
severity: normal
status: open
title: All regular expression match groups are the empty string
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35653>
_______________________________________


More information about the New-bugs-announce mailing list