New submission from Leon Hampton :
Hello,
In the 3.7.7 documentation on Regular Expression, the Conditional Construct,
(?(id/name)yes-pattern|no-pattern), is discussed. (This is a very thorough
document, by the way. Good job!)
One example given for the Conditional Construct does not work as
Leon Hampton added the comment:
Hello,
There may be a bug in the implementation of the Conditional Construction of
Regular Expressions, namely the (?(id/name)yes-pattern|no-pattern).
In the Regular Expression documentation
(https://docs.python.org/3.7/library/re.html), in the portion about
Leon Hampton added the comment:
Matthew Barnett & SilentGhost,
Thank you for your prompt responses. (Really prompt. Amazing!)
SilentGhost,
Regarding your response, I used re.search, not re.match. When I used re.match,
the regex failed. When I used re.search, it matched.
Here are my t