るりまサーチ

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

別のキーワード

  1. english $prematch
  2. english $match
  3. english $pid
  4. english $ofs

種類

ライブラリ

クラス

モジュール

キーワード

検索結果

Kernel$$POSTMATCH -> String | nil (6113.0)

$' の別名

...$' の別名

require "English"

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

/foo/ =~ str
p $POSTMATCH #=> ",bar,hee,hoo"...

Object::SCRIPT_LINES__ -> Hash (18.0)

ソースファイル別にまとめられたソースコードの各行。

...るコンパイルは対象にはなりません。


例:
require 'pp'
SCRIPT_LINES__ = {}
require 'English'
pp SCRIPT_LINES__

# => {"/usr/local/lib/ruby/1.6/English.rb"=>
# ["alias $ERROR_INFO $!\n",
# "alias $ERROR_POSITION $@\n",
#...