最速Rubyリファレンスマニュアル検索!
すべて(110)
2.1.0(9)
2.2.0(9)
2.3.0(9)
2.4.0(9)
2.5.0(9)
2.6.0(9)
2.7.0(9)
3.0(9)
3.1(9)
3.2(9)
3.3(10)
3.4(10)
110件ヒット
[101-110件を表示]
(0.074秒)
トップページ
>
:
Ruby
>
:
String
>
:
インスタンスメソッド
>
:
string
>
:
@
>
クラス:MatchData
別のキーワード
string []=
string slice!
string slice
string []
openssl ia5string
ライブラリ
ビルトイン
(110)
キーワード
[]
(48)
captures
(12)
deconstruct
(2)
post
_
match
(12)
pre
_
match
(12)
to
_
a
(12)
values
_
at
(12)
検索結果
先頭1件
MatchData
#
to
_
a -> [String]
<<
<
1
2
>>
MatchData
#
to
_
a -> [String]
(216.0)
2.1.0
2.3.0
2.5.0
2.6.0
2.7.0
3.0
3.1
3.2
3.3
3.4
インスタンスメソッド
$&, $1, $2,... を格納した配列を返します。
...
$&, $1, $2,... を格納した配列を返します。
//emlist[例][
ruby
]{
/(foo)(bar)(BAZ)?/ =~ "foobarbaz"
p $~.to_a # => ["foobar", "foo", "bar", nil]
//}
@
see
MatchData
#captures
...
<<
<
1
2
>>