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 | 2a44ebde45e8112fb3537413afa373a2a3ede231 (patch) | |
| tree | 5e253ca9cb7a3116e5f501d0cd55bffa367980ee /ChangeLog | |
| parent | 673d462137232984f04ecf858951ef9ece3828c2 (diff) | |
| download | ruby-2a44ebde45e8112fb3537413afa373a2a3ede231.tar.gz ruby-2a44ebde45e8112fb3537413afa373a2a3ede231.tar.xz ruby-2a44ebde45e8112fb3537413afa373a2a3ede231.zip | |
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: http://svn.ruby-lang.org/repos/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'. |
