24件ヒット
[1-24件を表示]
(0.007秒)
検索結果
先頭4件
-
Regexp
. compile(string , option = nil) -> Regexp (7.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...見なされ
、真(nil, false 以外)であれば
Regexp::IGNORECASE の指定と同じになります。
@raise RegexpError 正規表現のコンパイルに失敗した場合発生します。
//emlist[例][ruby]{
str = "This is Regexp"
t1 = Regexp.compile("this is... -
Regexp
. compile(string , option = nil , code = nil) -> Regexp (7.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...正規表現のエンコーディングは ASCII-8BIT になります。
それ以外の指定は警告を出力します。
@raise RegexpError 正規表現のコンパイルに失敗した場合発生します。
//emlist[例][ruby]{
str = "This is Regexp"
t1 = Regexp.compile("this i... -
Regexp
. new(string , option = nil) -> Regexp (7.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...見なされ
、真(nil, false 以外)であれば
Regexp::IGNORECASE の指定と同じになります。
@raise RegexpError 正規表現のコンパイルに失敗した場合発生します。
//emlist[例][ruby]{
str = "This is Regexp"
t1 = Regexp.compile("this is... -
Regexp
. new(string , option = nil , code = nil) -> Regexp (7.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...正規表現のエンコーディングは ASCII-8BIT になります。
それ以外の指定は警告を出力します。
@raise RegexpError 正規表現のコンパイルに失敗した場合発生します。
//emlist[例][ruby]{
str = "This is Regexp"
t1 = Regexp.compile("this i...