るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.025秒)
トップページ > バージョン:2.5.0[x] > モジュール:Kernel[x] > クエリ:kernel[x] > クエリ:$match[x]

別のキーワード

  1. kernel exec
  2. kernel spawn
  3. kernel system
  4. kernel open
  5. kernel fail

ライブラリ

検索結果

Kernel$$MATCH -> String | nil (45325.0)

$& の別名

$& の別名

require "English"

str = 'hoge,foo,bar,hee,hoo'

/(foo|bar)/ =~ str
p $MATCH #=> "foo"