[issue7132] Regexp: capturing groups in repetitions
Philippe Verdy
report at bugs.python.org
Thu Oct 15 00:29:26 CEST 2009
Philippe Verdy <verdy_p at wanadoo.fr> added the comment:
Note that I used the IPv4 address format only as an example. There are
plenty of other more complex cases for which we really need to capture the
multiple occurences of a capturing group within a repetition.
I'm NOT asking you how to parse it using MULTIPLE regexps and functions.
Of course you can, but this is a distinct problem, but certinaly NOT a
general solution (your solution using split() will NOT work with really A
LOT of other regular expressions).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7132>
_______________________________________
More information about the Python-bugs-list
mailing list