![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: backreference in regexp
From: Fredrik Lundh <fredrik@pythonware.com>
Date: Tue Jan 31 2006 - 13:29:20 CET
Schüle Daniel wrote:
> Hello @all,
plus matches one or more instances of the previous item. to make
p = re.compile(r"(\d+) = \1 \+ 0")
</F>
|