summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-29 07:57:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-11-29 07:57:48 +0000
commit256c88861beb452d790d74c7677a7e4217bc170b (patch)
tree8b992570061fc56456a48a6a8208e2f42414ea8f /NEWS
parent0d82c354c205ffcb9749141b36027f6ed9e5333d (diff)
strscan.c: add MatchData-like methods
* ext/strscan/strscan.c: added `size`, `captures` and `values_at` to StringScanner, shorthands of accessing the matched data. based on the patch by apeiros (Stefan Rusterholz) at [ruby-core:20412]. [Feature #836] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 52f28ffe7f..7c2b4b3ce2 100644
--- a/NEWS
+++ b/NEWS
@@ -216,6 +216,9 @@ with all sufficient information, see the ChangeLog file or Redmine
* StringIO
* StringIO#write accepts multiple arguments
+* StringScanner
+ * Add StringScanner#size, StringScanner#captures, StringScanner#values_at [Feature #836]
+
* WEBrick
* Add Server Name Indication (SNI) support [Feature #13729]