diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-16 15:18:11 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-16 15:18:11 +0000 |
commit | 6ef31af2d178fb4916150d317ceafe156fccdf65 (patch) | |
tree | 5e253ca9cb7a3116e5f501d0cd55bffa367980ee /ChangeLog | |
parent | ff9f067f8977c64f1a09e676a28ae1043b932a51 (diff) |
introduce some new methods
* ext/strscan/strscan.c: new method StringScanner#beginning_of_line? (alias #bol?)
* ext/strscan/strscan.c: new method StringScanner#concat and #<<.
* ext/strscan/strscan.c: StringScanner#new(str) does not duplicate nor freeze STR (allow destructive modification).
* test/strscan/test_stringscanner.rb: test new methods above.
* test/strscan/test_stringscanner.rb: test destructive string modification.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +Wed Dec 17 00:16:14 2003 Minero Aoki <aamine@loveruby.net> + + * ext/strscan/strscan.c: new method + StringScanner#beginning_of_line? (alias #bol?) + + * ext/strscan/strscan.c: new method StringScanner#concat and #<<. + + * ext/strscan/strscan.c: StringScanner#new(str) does not duplicate + nor freeze STR (allow destructive modification). + + * test/strscan/test_stringscanner.rb: test new methods above. + + * test/strscan/test_stringscanner.rb: test destructive string + modification. + Tue Dec 16 21:20:47 2003 Tanaka Akira <akr@m17n.org> * lib/pp.rb: don't use local variable `pp'. |