るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.079秒)
トップページ > バージョン:2.3.0[x] > 種類:変数[x] > クエリ:kernel[x] > クエリ:$prematch[x]

別のキーワード

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

ライブラリ

モジュール

検索結果

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

$` の別名

$` の別名

require "English"

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

/foo/ =~ str
p $PREMATCH #=> "hoge,"