144件ヒット
[101-144件を表示]
(0.019秒)
ライブラリ
- ビルトイン (72)
- optparse (12)
-
rexml
/ document (24) -
rinda
/ rinda (12) -
ripper
/ lexer (12) -
rubygems
/ platform (12)
クラス
- File (24)
-
Gem
:: Platform (12) - OptionParser (12)
-
REXML
:: Entity (12) -
REXML
:: XPath (12) - Regexp (48)
-
Rinda
:: DRbObjectTemplate (12) - Ripper (12)
キーワード
- accept (12)
- compile (12)
- fnmatch (12)
- fnmatch? (12)
-
last
_ match (24) - matches? (12)
- new (24)
-
token
_ match (12)
検索結果
先頭5件
-
Regexp
. compile(string , option = nil , code = nil) -> Regexp (25.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...s is regexp", Regexp::IGNORECASE)
t1.match(str)
p $~ # => "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.compile("ふる.*?と", Regexp::MULTILINE)
p t2.match(str)[0] # => "ふるいけや\nかわずと"
//}... -
Regexp
. new(string , option = nil) -> Regexp (25.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...s is regexp", Regexp::IGNORECASE)
t1.match(str)
p $~ # => "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.compile("ふる.*?と", Regexp::MULTILINE)
p t2.match(str)[0] # => "ふるいけや\nかわずと"
//}... -
Regexp
. new(string , option = nil , code = nil) -> Regexp (25.0) -
文字列 string をコンパイルして正規表現オブジェクトを生成して返します。
...s is regexp", Regexp::IGNORECASE)
t1.match(str)
p $~ # => "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.compile("ふる.*?と", Regexp::MULTILINE)
p t2.match(str)[0] # => "ふるいけや\nかわずと"
//}... -
OptionParser
. accept(klass , pat = / . * / ) {|str| . . . } -> () (7.0) -
オプションの引数を文字列から Ruby のオブジェクトに変換するための ブロックを登録します。すべての OptionParser インスタンスに共通です。
...しては変換用のブロックがデフォルトで登録されて
います。OptionParser#on を参照して下さい。
@param klass クラスオブジェクトを与えます。
@param pat match メソッドを持ったオブジェクト(Regexp オブジェクトなど)を与えます。... -
Rinda
:: DRbObjectTemplate . new(uri = nil , ref = nil) (7.0) -
@todo
...@todo
Creates a new DRbObjectTemplate that will match against +uri+ and
+ref+....