Yukihiro "Matz" Matsumoto
|
418eec2c7d
|
remove a comment that no longer be true; 2cb6c27
|
2015-09-23 00:01:39 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
2cb6c27781
|
String#index should no longer take integer argument
|
2015-09-22 19:10:48 +09:00 |
|
takahashim
|
f1c23a0f75
|
support String#[]= with 3 args
|
2015-09-16 18:50:03 +09:00 |
|
go.kikuta
|
11524f6f67
|
string.rb: refactor code (remove redundant code)
|
2015-08-21 14:54:01 +09:00 |
|
Jared Breeden
|
08c12ab7bf
|
Don't crash if pattern not found for sub
|
2015-07-16 15:33:07 -07:00 |
|
Tomoyuki Sahara
|
5dd2b8e16f
|
gsub/sub supports back references in substitutes. fixes #2816.
This implementation is compatible with CRuby's String#gsub/sub
except \1 ... \9 and \+. They are useless without Regexp library.
|
2015-06-08 17:32:14 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b05d736b49
|
update mrblib/*.rb files to conform (some of) Rubocop checks
|
2015-05-29 17:01:52 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8aba34301b
|
String#[]= should support negative position; close #2707
|
2015-01-19 22:13:34 +09:00 |
|
takahashim
|
bcceeba09b
|
fix infinite loop in String#match(arg) when arg is String
|
2015-01-14 02:18:56 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4a2c37df93
|
made mrb_define_class to return existing class, with heavy refactoring
|
2014-02-08 13:44:31 +09:00 |
|
Tomoyuki Sahara
|
3b76aae4f0
|
fix ISO reference number of String#=~.
|
2014-01-10 12:01:24 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
4d92d2e1aa
|
string type check based on #to_str to encourage duck typing; #1616
|
2013-12-24 07:02:37 +09:00 |
|
h2so5
|
e137d1423d
|
verify the argument of String#=~
|
2013-12-24 00:09:34 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
8d7e716158
|
String =~ and match to work with pluggable Regexp; close #1398
|
2013-07-23 20:22:15 +09:00 |
|
Yukihiro Matz Matsumoto
|
b7da7cfee0
|
adopt String#gsub to fixed split behavior
|
2013-02-18 18:47:58 +09:00 |
|
Daniel Bovensiepen
|
e8c0b61c0d
|
String#gsub fix with last character
|
2013-02-17 12:13:46 +00:00 |
|
Yuichiro MASUI
|
0ee2c71b03
|
Added String#sub/sub! and String#gsub/gsub!
|
2013-02-12 16:10:35 +09:00 |
|
skandhas
|
8a43ec75a0
|
delete needless output in String#[]=
|
2012-11-02 14:58:21 +08:00 |
|
Yukihiro Matsumoto
|
57910ca535
|
String#each_byte to use String#bytes; close #508
|
2012-11-01 06:13:02 +09:00 |
|
Yukihiro Matsumoto
|
8f5017e768
|
raise NotImplementedError from regexp related string methods; close #319
|
2012-06-26 14:01:26 +09:00 |
|
Daniel Bovensiepen
|
be20e99938
|
Add documentation to String
|
2012-05-03 16:43:44 +08:00 |
|
mimaki
|
e0d6430f63
|
add mruby sources
|
2012-04-20 09:39:03 +09:00 |
|