Project

General

Profile

Actions

Feature #836

closed

Patches for StringScanner, adding #size, #captures and #values_at

Added by apeiros (Stefan Rusterholz) about 16 years ago. Updated about 7 years ago.

Status:
Closed
Target version:
[ruby-core:20412]

Description

=begin
The methods are named to be consistent with MatchData.
My C-fu isn't very strong, so a review of the patch would be appreciated.
I attached the revised code and a diff file. If other formats are wished, please tell.
If I need to submit something else with that patch, please tell.

Regards
Stefan
=end


Files

strscan.c (38.2 KB) strscan.c apeiros (Stefan Rusterholz), 12/08/2008 11:27 AM
strscan.diff (3.12 KB) strscan.diff apeiros (Stefan Rusterholz), 12/08/2008 11:27 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0