summaryrefslogtreecommitdiff
path: root/ext/strscan
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-03 13:37:59 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-03 13:37:59 +0000
commite6c7da504fac54fe5911503ee73f193cae8fd2e0 (patch)
tree3eb3d60518063b34a516bab28d350a1625447aab /ext/strscan
parent9f42dfa0123a704a2144727af7a14d0b5a17b431 (diff)
* 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
Diffstat (limited to 'ext/strscan')
-rw-r--r--ext/strscan/strscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c
index 99c0451..5cce337 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