From e6c7da504fac54fe5911503ee73f193cae8fd2e0 Mon Sep 17 00:00:00 2001 From: mame Date: Tue, 3 Jun 2008 13:37:59 +0000 Subject: * ext/strscan/strscan.c (strscan_exist_p): fix document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/strscan/strscan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c index 99c0451e36..5cce337638 100644 --- a/ext/strscan/strscan.c +++ b/ext/strscan/strscan.c @@ -573,7 +573,7 @@ strscan_scan_until(VALUE self, VALUE re) * s = StringScanner.new('test string') * s.exist? /s/ # -> 3 * s.scan /test/ # -> "test" - * s.exist? /s/ # -> 6 + * s.exist? /s/ # -> 2 * s.exist? /e/ # -> nil */ static VALUE -- cgit v1.2.3