summaryrefslogtreecommitdiffhomepage
path: root/mrblib/string.rb
AgeCommit message (Expand)Author
2021-11-28Align "wrong number of arguments" messagesdearblue
2021-09-01string.c: implement `__sub_replace()` in C.Yukihiro "Matz" Matsumoto
2021-09-01string.rb: avoid internal `__to_str` calls.Yukihiro "Matz" Matsumoto
2021-04-28string.{c,rb}: fix type of return values from some methods as Ruby3.0Yukihiro "Matz" Matsumoto
2019-09-12Merge pull request #4527 from lopopolo/string-each-line-paragraph-modeYukihiro "Matz" Matsumoto
2019-06-29Replace `String#[]=` method by C implementsdearblue
2019-06-25Unify loops to minimize bytecode sizeRyan Lopopolo
2019-06-23Use explicit block parameterRyan Lopopolo
2019-06-23Optimize String#each_lineRyan Lopopolo
2019-06-22Speed up base case by 2xRyan Lopopolo
2019-06-22Add paragraph mode to String#each_line in mrblibRyan Lopopolo
2019-05-15Add Enumerator support to `String#each_byte`.Yukihiro "Matz" Matsumoto
2019-05-15Remove `String#=~` and `String#match` that requires `Regexp`.Yukihiro "Matz" Matsumoto
2019-04-27Remove duplicated `String#each_char`KOBAYASHI Shuji
2019-04-21Commented out `String#scan` because it is not implemented yetKOBAYASHI Shuji
2019-04-19Add type check (conversion) in `String#[]=`KOBAYASHI Shuji
2019-04-18Remove duplicated `include Comparable` in `mrblib/string.rb`KOBAYASHI Shuji
2019-04-08Avoid infinite loop when no `Regexp` class is available; fix #4363Yukihiro "Matz" Matsumoto
2018-11-19Avoid assignments from type checking `String#__to_str`.Yukihiro "Matz" Matsumoto
2018-11-19Remove implicit conversion using `to_str` method; fix #3854Yukihiro "Matz" Matsumoto
2018-08-07Fixed the corner case bug in `String#{gsub!,sub!}`.Yukihiro "Matz" Matsumoto
2017-12-12Modifying frozen objects will raise `FrozenError`.Yukihiro "Matz" Matsumoto
2017-06-21use `unless` instead of `if not`.Yukihiro "Matz" Matsumoto
2017-03-22Fix result if pattern is emptyksss
2017-03-19Callback should yield with pattern every timeksss
2017-03-19Support to return Enumerator for String#gsub,gsub!ksss
2017-03-15Support to return enumerator when no block givenksss
2017-03-15Suuport custom separatorksss
2017-03-15Use duplicated object for block argsksss
2017-03-11Merge branch 'master' into string-gsubYukihiro "Matz" Matsumoto
2017-03-10\1 sequences as empty stringsksss
2017-03-10Avoid infinity loop when empty string patternksss
2017-03-05Check modifiable for String `bang' methodsksss
2016-11-16Fixed off-by-one error in String#[]= with RangesYukihiro "Matz" Matsumoto
2016-11-16make String#[]= to take Ranges as position argumentYukihiro "Matz" Matsumoto
2015-09-23remove a comment that no longer be true; 2cb6c27Yukihiro "Matz" Matsumoto
2015-09-22String#index should no longer take integer argumentYukihiro "Matz" Matsumoto
2015-09-16support String#[]= with 3 argstakahashim
2015-08-21string.rb: refactor code (remove redundant code)go.kikuta
2015-07-16Don't crash if pattern not found for subJared Breeden
2015-06-08gsub/sub supports back references in substitutes. fixes #2816.Tomoyuki Sahara
2015-05-29update mrblib/*.rb files to conform (some of) Rubocop checksYukihiro "Matz" Matsumoto
2015-01-19String#[]= should support negative position; close #2707Yukihiro "Matz" Matsumoto
2015-01-14fix infinite loop in String#match(arg) when arg is Stringtakahashim
2014-02-08made mrb_define_class to return existing class, with heavy refactoringYukihiro "Matz" Matsumoto
2014-01-10fix ISO reference number of String#=~.Tomoyuki Sahara
2013-12-24string type check based on #to_str to encourage duck typing; #1616Yukihiro "Matz" Matsumoto
2013-12-24verify the argument of String#=~h2so5
2013-07-23String `=~` and `match` to work with pluggable Regexp; close #1398Yukihiro "Matz" Matsumoto
2013-02-18adopt String#gsub to fixed split behaviorYukihiro Matz Matsumoto