質問編集履歴
1
初心者マークを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
regexp = gexp.new(pat
|
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(pat
|
33
|
+
regexp = Regexp.new(pattern)
|
34
34
|
|
35
35
|
|
36
36
|
|