blob: ce13a6ff125fed9086b00e14e308f0a299244e55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.1 1998/02/01 01:48:52 tron Exp $
(This is the re.1.txt patch from www.python.org)
--- Lib/re.py 1997/12/31 21:40:43
+++ Lib/re.py 1997/12/31 21:55:49
@@ -203,6 +203,7 @@
if type(g)==type( "" ): g = [g]
results[len(results):] = list(g)
pos = lastmatch = j
+ n = n + 1
results.append(source[lastmatch:])
return results
|