質問編集履歴

1

初心者マークを追加

2021/06/19 04:50

投稿

FOKA666
FOKA666

スコア2

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
- regexp = gexp.new(patRetern)
13
+ regexp = Regexp.new(pattern)
14
14
 
15
15
  matches = text.scan(regexp)
16
16
 
@@ -30,7 +30,7 @@
30
30
 
31
31
 
32
32
 
33
- regexp = gexp.new(patRetern)
33
+ regexp = Regexp.new(pattern)
34
34
 
35
35
 
36
36