Bug #131
StringScanner#search_full の説明
| Status: | Closed | Start date: | 06/10/2008 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | - | |||
| reporter: | rock | ruby_version: | 1.8,1.9 |
Description
StringScanner#search_full の説明で, f が true ならばマッチした部分文字列を返します。 f が false ならばマッチした部分文字列の長さを返します。 とありますが,いずれも「マッチした部分文字列」ではなく,「スキャン開始位置からマッチした部分の末尾までの部分文字列」ではないでしょうか。 また, regexp が一致するまで文字列をスキャンします。 とありますが,正規表現とマッチすることを「一致する」と表現するのは変ではないでしょうか。
Associated revisions
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.