Forum: Ruby-core Patches for StringScanner, adding #size, #captures and #values_at

Posted by mame (Yusuke Endoh) (Guest)
on 2012-11-24 05:11
(Received via mailing list)
Issue #836 has been updated by mame (Yusuke Endoh).

Target version changed from 2.0.0 to next minor


----------------------------------------
Feature #836: Patches for StringScanner, adding #size, #captures and 
#values_at
https://bugs.ruby-lang.org/issues/836#change-33777

Author: apeiros (Stefan Rusterholz)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: lib
Target version: next minor


=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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.