35件ヒット
[1-35件を表示]
(0.168秒)
クラス
-
Scanf
:: FormatSpecifier (12) -
Scanf
:: FormatString (12) - StringScanner (11)
キーワード
-
matched
_ count (6) -
matched
_ string (6) - prune (6)
- terminate (11)
検索結果
先頭5件
-
Scanf
:: FormatSpecifier # matched (24102.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # matched _ string (15202.0) -
@todo
@todo -
Scanf
:: FormatString # matched _ count (15202.0) -
@todo
@todo -
StringScanner
# terminate -> self (9213.0) -
スキャンポインタを文字列末尾後まで進め、マッチ記録を捨てます。
...@return self を返します。
pos = self.string.size と同じ動作です。
//emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.scan(/\w+/) # => "test"
s.matched # => "test"
s.pos # => 4
s[0] # => "test"
s.terminate
s.matched # => nil
s[0]......# => nil
s.pos # => 11
//}
StringScanner#clear は将来のバージョンで削除される予定です。
代わりに StringScanner#terminate を使ってください。... -
Scanf
:: FormatString # prune(n=matched _ count) (9203.0) -
@todo
@todo