るりまサーチ

最速Rubyリファレンスマニュアル検索!
35件ヒット [1-35件を表示] (0.168秒)

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n=
  3. pop3 n_bytes
  4. pop n_bytes
  5. rsa n

ライブラリ

キーワード

検索結果

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

絞り込み条件を変える