回答編集履歴

1

訂正

2021/07/17 00:53

投稿

otn
otn

スコア85949

test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  for x in data:
12
12
 
13
- match = re.findall(r"(\D+)(-?\d+)((-?\d+))",x)
13
+ match = re.findall(r"(\D+?)(-?\d+)((-?\d+))",x)
14
14
 
15
15
  if match:
16
16