11件ヒット
[1-11件を表示]
(0.277秒)
ライブラリ
- English (11)
検索結果
-
Kernel
$ $ LAST _ PAREN _ MATCH -> String | nil (18109.0) -
$+ の別名
...require "English"
r1 = Regexp.compile("<img src=(http:.+?)>")
r2 = Regexp.compile("<a href=(http|ftp).+?>(.+?)</a>")
while line = DATA.gets
[ r1, r2 ].each {|rep|
rep =~ line
p $+
}
end
__END__
<tr> <td><img src=http://localhost/a.jpg></td> <td>ikkou</td> <td><a...