summaryrefslogtreecommitdiffstats
path: root/test/strscan
Commit message (Collapse)AuthorAgeFilesLines
* * ext/strscan/strscan.c (strscan_do_scan): StringScanner.new("").scan(//) ↵aamine2006-07-261-0/+10
| | | | | | should return "". [ruby-Bugs:4361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: new method StringScanner#initialize_copy to allow ↵aamine2004-03-051-0/+61
| | | | | | | | | #dup and #clone. * test/strscan/test_strscan.rb: test StringScanner#dup. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/*: should not depend on $KCODE.nahi2004-02-181-16/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* introduce some new methodsaamine2003-12-161-7/+86
| | | | | | | | | | | * 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
* * test/strscan/test_stringscanner.rb: require test/unit.aamine2003-09-171-8/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/strscan/test_stringscanner.rb: new file.aamine2003-09-171-0/+403
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e