るりまサーチ (Ruby 2.2.0)

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

別のキーワード

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

ライブラリ

モジュール

検索結果

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

$` の別名

$` の別名

require "English"

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

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