Bug #131

StringScanner#search_full の説明

Added by Anonymous over 3 years ago. Updated 9 months ago.

[ruby-reference-manual:906]
Status:Closed Start date:06/10/2008
Priority:Low Due date:
Assignee:taifu kouya % Done:

100%

Category:-
Target version:-
reporter:rock ruby_version:1.8,1.9

Description

StringScanner#search_full の説明で,
 f が true ならばマッチした部分文字列を返します。
 f が false ならばマッチした部分文字列の長さを返します。
とありますが,いずれも「マッチした部分文字列」ではなく,「スキャン開始位置からマッチした部分の末尾までの部分文字列」ではないでしょうか。

また,
 regexp が一致するまで文字列をスキャンします。
とありますが,正規表現とマッチすることを「一致する」と表現するのは変ではないでしょうか。

Associated revisions

Revision 3124
Added by kouya over 3 years ago

fix Bug #131 [ruby-reference-manual:906]

History

Updated by taifu kouya over 3 years ago

  • Assignee set to taifu kouya

Updated by taifu kouya over 3 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
Applied in changeset r3124.

Also available in: Atom PDF