質問編集履歴
1
fix
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
```Ruby
|
2
2
|
|
3
|
+
some_string = 'aaaaaTestaaaaa'
|
4
|
+
|
3
|
-
sub(/\A[a]*(.*?)[a]*\z/, '\1')
|
5
|
+
some_string.gsub(/\A[a]*(.*?)[a]*\z/, '\1')
|
6
|
+
|
7
|
+
# some_string Test
|
4
8
|
|
5
9
|
```
|
6
10
|
|