回答編集履歴
2
再修正
test
CHANGED
@@ -16,11 +16,11 @@
|
|
16
16
|
|
17
17
|
if m:
|
18
18
|
|
19
|
-
n = m.groups()[1]
|
19
|
+
num = m.groups()[1]
|
20
20
|
|
21
21
|
else:
|
22
22
|
|
23
|
-
n = ""
|
23
|
+
num = ""
|
24
24
|
|
25
25
|
sender.superview['label2'].text = num
|
26
26
|
|
1
間違い修正
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
text = sender.superview['label1'].text
|
14
14
|
|
15
|
-
m = re.search('????(\d+)[^\d]*')
|
15
|
+
m = re.search('????(\d+)[^\d]*', text)
|
16
16
|
|
17
17
|
if m:
|
18
18
|
|