33件ヒット
[1-33件を表示]
(0.051秒)
別のキーワード
検索結果
先頭3件
-
IRB
:: HistorySavingAbility . extended(obj) -> object (18102.0) -
obj に irb のヒストリの読み込み、保存の機能を提供します。
obj に irb のヒストリの読み込み、保存の機能を提供します。
obj を返します。
@param obj IRB::HistorySavingAbility を extend したオブジェクトです。 -
Regexp
. compile(string , option = nil , code = nil) -> Regexp (13.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...。
@param string 正規表現を文字列として与えます。
@param option Regexp::IGNORECASE, Regexp::MULTILINE,
Regexp::EXTENDED
の論理和を指定します。
Integer 以外であれば真偽値の指定として見なされ
、......=> "This is Regexp"
t2 = Regexp.compile('
this # ここは使用されない
\ is
\ regexp # ここも使用されない
', Regexp::EXTENDED | Regexp::IGNORECASE)
t2.match(str)
p Regexp.last_match # => "This is Regexp"
str = "ふるいけや\nかわずとびこむ\nみずのおと"
t2... -
Regexp
. new(string , option = nil , code = nil) -> Regexp (13.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...。
@param string 正規表現を文字列として与えます。
@param option Regexp::IGNORECASE, Regexp::MULTILINE,
Regexp::EXTENDED
の論理和を指定します。
Integer 以外であれば真偽値の指定として見なされ
、......=> "This is Regexp"
t2 = Regexp.compile('
this # ここは使用されない
\ is
\ regexp # ここも使用されない
', Regexp::EXTENDED | Regexp::IGNORECASE)
t2.match(str)
p Regexp.last_match # => "This is Regexp"
str = "ふるいけや\nかわずとびこむ\nみずのおと"
t2...