* ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fix
document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e6c7da504f
commit
0ecd8c8bc2
@ -1,3 +1,8 @@
|
|||||||
|
Tue Jun 3 23:06:35 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* ext/strscan/strscan.c (strscan_scan_full, strscan_search_full): fix
|
||||||
|
document.
|
||||||
|
|
||||||
Tue Jun 3 22:37:26 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
Tue Jun 3 22:37:26 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
* ext/strscan/strscan.c (strscan_exist_p): fix document.
|
* ext/strscan/strscan.c (strscan_exist_p): fix document.
|
||||||
|
@ -530,11 +530,11 @@ strscan_check(VALUE self, VALUE re)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq: scan_full(pattern, return_string_p, advance_pointer_p)
|
* call-seq: scan_full(pattern, advance_pointer_p, return_string_p)
|
||||||
*
|
*
|
||||||
* Tests whether the given +pattern+ is matched from the current scan pointer.
|
* Tests whether the given +pattern+ is matched from the current scan pointer.
|
||||||
* Returns the matched string if +return_string_p+ is true.
|
|
||||||
* Advances the scan pointer if +advance_pointer_p+ is true.
|
* Advances the scan pointer if +advance_pointer_p+ is true.
|
||||||
|
* Returns the matched string if +return_string_p+ is true.
|
||||||
* The match register is affected.
|
* The match register is affected.
|
||||||
*
|
*
|
||||||
* "full" means "#scan with full parameters".
|
* "full" means "#scan with full parameters".
|
||||||
@ -624,12 +624,12 @@ strscan_check_until(VALUE self, VALUE re)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq: search_full(pattern, return_string_p, advance_pointer_p)
|
* call-seq: search_full(pattern, advance_pointer_p, return_string_p)
|
||||||
*
|
*
|
||||||
* Scans the string _until_ the +pattern+ is matched.
|
* Scans the string _until_ the +pattern+ is matched.
|
||||||
|
* Advances the scan pointer if +advance_pointer_p+, otherwise not.
|
||||||
* Returns the matched string if +return_string_p+ is true, otherwise
|
* Returns the matched string if +return_string_p+ is true, otherwise
|
||||||
* returns the number of bytes advanced.
|
* returns the number of bytes advanced.
|
||||||
* Advances the scan pointer if +advance_pointer_p+, otherwise not.
|
|
||||||
* This method does affect the match register.
|
* This method does affect the match register.
|
||||||
*/
|
*/
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user