種類
- モジュール関数 (1042)
- インスタンスメソッド (812)
- 変数 (600)
ライブラリ
キーワード
- 
        $ ! (12) 
- 
        $ & (12) 
- 
        $ & # 39; (12) 
- 
        $ -F (12) 
- 
        $ -I (6) 
- 
        $ -p (12) 
- 
        $ 1 (12) 
- 
        $ 10 (12) 
- 
        $ 11 (12) 
- 
        $ 2 (12) 
- 
        $ 3 (12) 
- 
        $ 4 (12) 
- 
        $ 5 (12) 
- 
        $ 6 (12) 
- 
        $ 7 (12) 
- 
        $ 8 (12) 
- 
        $ 9 (12) 
- 
        $ : (6) 
- 
        $ ; (12) 
- 
        $ > (12) 
- 
        $ ? (12) 
- 
        $ ARGV (12) 
- 
        $ CHILD _ STATUS (12) 
- 
        $ DEFAULT _ INPUT (12) 
- 
        $ DEFAULT _ OUTPUT (12) 
- 
        $ ERROR _ INFO (12) 
- 
        $ ERROR _ POSITION (12) 
- 
        $ FIELD _ SEPARATOR (12) 
- 
        $ FS (12) 
- 
        $ INPUT _ LINE _ NUMBER (12) 
- 
        $ INPUT _ RECORD _ SEPARATOR (12) 
- 
        $ LAST _ MATCH _ INFO (12) 
- 
        $ LAST _ PAREN _ MATCH (12) 
- 
        $ LAST _ READ _ LINE (12) 
- 
        $ LOAD _ PATH (12) 
- 
        $ MATCH (12) 
- 
        $ NR (12) 
- 
        $ OFS (12) 
- 
        $ OUTPUT _ FIELD _ SEPARATOR (12) 
- 
        $ OUTPUT _ RECORD _ SEPARATOR (12) 
- 
        $ PID (12) 
- 
        $ POSTMATCH (12) 
- 
        $ PREMATCH (12) 
- 
        $ PROCESS _ ID (12) 
- 
        $ PROGRAM _ NAME (12) 
- 
        $ RS (12) 
- 
        $ ` (12) 
- 
        $ stdin (12) 
- 
        $ stdout (12) 
- 
        $ topdir (12) 
- 
        $ ~ (12) 
- BigDecimal (14)
- Complex (24)
- DelegateClass (12)
- Digest (12)
- Float (12)
- Integer (12)
- JSON (12)
- Pathname (12)
- Rational (7)
- String (12)
- 
        _ _ callee _ _ (12) 
- 
        _ _ method _ _ (12) 
- 
        at_ exit (12) 
- autoload (12)
- autoload? (12)
- binding (12)
- caller (36)
- 
        caller_ locations (24) 
- catch (24)
- 
        cc_ command (12) 
- 
        check_ signedness (24) 
- 
        check_ sizeof (24) 
- chomp (12)
- chop (12)
- 
        convertible_ int (24) 
- cp (12)
- 
        create_ makefile (12) 
- 
        create_ tmpsrc (12) 
- 
        depend_ rules (12) 
- desc (12)
- 
        egrep_ cpp (24) 
- eval (24)
- exec (48)
- 
        find_ executable (12) 
- 
        find_ header (12) 
- 
        find_ library (24) 
- 
        find_ type (24) 
- format (12)
- gets (12)
- 
        global_ variables (12) 
- gsub (36)
- 
        have_ header (24) 
- 
        have_ macro (24) 
- 
        have_ struct _ member (24) 
- 
        have_ type (24) 
- help (12)
- httpd (12)
- import (12)
- install (12)
- 
        install_ files (12) 
- j (12)
- libpathflag (12)
- 
        link_ command (12) 
- load (12)
- 
        local_ variables (12) 
- loop (24)
- mkdir (12)
- namespace (12)
- open (40)
- p (12)
- pp (12)
- print (12)
- printf (24)
- putc (12)
- puts (12)
- raise (36)
- readline (12)
- readlines (12)
- require (12)
- 
        require_ relative (12) 
- rmdir (12)
- select (12)
- 
        set_ trace _ func (12) 
- sleep (24)
- spawn (48)
- sprintf (12)
- srand (24)
- sub (24)
- system (48)
- test (24)
- timeout (8)
- 
        trace_ var (36) 
- trap (24)
- 
        try_ compile (24) 
- 
        try_ constant (24) 
- 
        try_ cpp (24) 
- 
        try_ do (24) 
- 
        try_ link (24) 
- 
        try_ run (24) 
- 
        try_ static _ assert (24) 
- 
        try_ type (24) 
- 
        untrace_ var (12) 
- warn (8)
- 
        with_ werror (24) 
- xmp (12)
- xpopen (24)
- xsystem (12)
検索結果
先頭5件
- 
      Kernel$ $ 11 -> String | nil (21013.0) 
- 
      
      
      最後に成功したパターンマッチで n 番目の括弧にマッチした値が格納されます。 該当する括弧がなければ nil が入っています。(覚え方: \数字 のようなもの) ...xp.last_match(1),
 Regexp.last_match(2), ... と同じ。
 これらの変数はローカルスコープかつスレッドローカル、読み取り専用です。
 //emlist[例][ruby]{
 str = '<p><a href="http://example.com">example.com</a></p>'
 if %r[<a href="(.*?)">(.*?)</a>] =~ str
 print $1
 p......rint $2
 end
 #=> "http://example.com"
 #=> "example.com"
 //}...
- 
      Kernel$ $ 2 -> String | nil (21013.0) 
- 
      
      
      最後に成功したパターンマッチで n 番目の括弧にマッチした値が格納されます。 該当する括弧がなければ nil が入っています。(覚え方: \数字 のようなもの) ...xp.last_match(1),
 Regexp.last_match(2), ... と同じ。
 これらの変数はローカルスコープかつスレッドローカル、読み取り専用です。
 //emlist[例][ruby]{
 str = '<p><a href="http://example.com">example.com</a></p>'
 if %r[<a href="(.*?)">(.*?)</a>] =~ str
 print $1
 p......rint $2
 end
 #=> "http://example.com"
 #=> "example.com"
 //}...
- 
      Kernel$ $ 3 -> String | nil (21013.0) 
- 
      
      
      最後に成功したパターンマッチで n 番目の括弧にマッチした値が格納されます。 該当する括弧がなければ nil が入っています。(覚え方: \数字 のようなもの) ...xp.last_match(1),
 Regexp.last_match(2), ... と同じ。
 これらの変数はローカルスコープかつスレッドローカル、読み取り専用です。
 //emlist[例][ruby]{
 str = '<p><a href="http://example.com">example.com</a></p>'
 if %r[<a href="(.*?)">(.*?)</a>] =~ str
 print $1
 p......rint $2
 end
 #=> "http://example.com"
 #=> "example.com"
 //}...
- 
      Kernel$ $ 4 -> String | nil (21013.0) 
- 
      
      
      最後に成功したパターンマッチで n 番目の括弧にマッチした値が格納されます。 該当する括弧がなければ nil が入っています。(覚え方: \数字 のようなもの) ...xp.last_match(1),
 Regexp.last_match(2), ... と同じ。
 これらの変数はローカルスコープかつスレッドローカル、読み取り専用です。
 //emlist[例][ruby]{
 str = '<p><a href="http://example.com">example.com</a></p>'
 if %r[<a href="(.*?)">(.*?)</a>] =~ str
 print $1
 p......rint $2
 end
 #=> "http://example.com"
 #=> "example.com"
 //}...
- 
      Kernel$ $ 5 -> String | nil (21013.0) 
- 
      
      
      最後に成功したパターンマッチで n 番目の括弧にマッチした値が格納されます。 該当する括弧がなければ nil が入っています。(覚え方: \数字 のようなもの) ...xp.last_match(1),
 Regexp.last_match(2), ... と同じ。
 これらの変数はローカルスコープかつスレッドローカル、読み取り専用です。
 //emlist[例][ruby]{
 str = '<p><a href="http://example.com">example.com</a></p>'
 if %r[<a href="(.*?)">(.*?)</a>] =~ str
 print $1
 p......rint $2
 end
 #=> "http://example.com"
 #=> "example.com"
 //}...
- 
      Kernel$ $ 6 -> String | nil (21013.0) 
- 
      
      
      最後に成功したパターンマッチで n 番目の括弧にマッチした値が格納されます。 該当する括弧がなければ nil が入っています。(覚え方: \数字 のようなもの) ...xp.last_match(1),
 Regexp.last_match(2), ... と同じ。
 これらの変数はローカルスコープかつスレッドローカル、読み取り専用です。
 //emlist[例][ruby]{
 str = '<p><a href="http://example.com">example.com</a></p>'
 if %r[<a href="(.*?)">(.*?)</a>] =~ str
 print $1
 p......rint $2
 end
 #=> "http://example.com"
 #=> "example.com"
 //}...
- 
      Kernel$ $ 7 -> String | nil (21013.0) 
- 
      
      
      最後に成功したパターンマッチで n 番目の括弧にマッチした値が格納されます。 該当する括弧がなければ nil が入っています。(覚え方: \数字 のようなもの) ...xp.last_match(1),
 Regexp.last_match(2), ... と同じ。
 これらの変数はローカルスコープかつスレッドローカル、読み取り専用です。
 //emlist[例][ruby]{
 str = '<p><a href="http://example.com">example.com</a></p>'
 if %r[<a href="(.*?)">(.*?)</a>] =~ str
 print $1
 p......rint $2
 end
 #=> "http://example.com"
 #=> "example.com"
 //}...
- 
      Kernel$ $ 8 -> String | nil (21013.0) 
- 
      
      
      最後に成功したパターンマッチで n 番目の括弧にマッチした値が格納されます。 該当する括弧がなければ nil が入っています。(覚え方: \数字 のようなもの) ...xp.last_match(1),
 Regexp.last_match(2), ... と同じ。
 これらの変数はローカルスコープかつスレッドローカル、読み取り専用です。
 //emlist[例][ruby]{
 str = '<p><a href="http://example.com">example.com</a></p>'
 if %r[<a href="(.*?)">(.*?)</a>] =~ str
 print $1
 p......rint $2
 end
 #=> "http://example.com"
 #=> "example.com"
 //}...
- 
      Kernel$ $ 9 -> String | nil (21013.0) 
- 
      
      
      最後に成功したパターンマッチで n 番目の括弧にマッチした値が格納されます。 該当する括弧がなければ nil が入っています。(覚え方: \数字 のようなもの) ...xp.last_match(1),
 Regexp.last_match(2), ... と同じ。
 これらの変数はローカルスコープかつスレッドローカル、読み取り専用です。
 //emlist[例][ruby]{
 str = '<p><a href="http://example.com">example.com</a></p>'
 if %r[<a href="(.*?)">(.*?)</a>] =~ str
 print $1
 p......rint $2
 end
 #=> "http://example.com"
 #=> "example.com"
 //}...
- 
      Kernel$ $ OFS -> String | nil (21013.0) 
- 
      
      
      $, の別名 ...$, の別名
 require "English"
 array = %w|hoge fuga ugo bar foo|
 p array.join #=> "hogefugaugobarfoo"
 $OUTPUT_FIELD_SEPARATOR = ","
 p array.join #=> "hoge,fuga,ugo,bar,foo"...

 :
:![条件を削除 [x]](/images/drop-condition-icon.png)
 :
: