Chromium Code Reviews
DescriptionImprove the replaceFirst, replaceAll and split methods.
An empty regular expression had caused split to loop infinitely. Now,
the split method behaves like its namesake in ECMAScript and splits a
string along character boundaries.
The split, replaceFirst, and replaceAll methods only supported RegExp
and String patterns. Now, these methods are implemented on top of the
allMatches method and work for all subinterfaces of Pattern.
BUG=2171
Committed: https://code.google.com/p/dart/source/detail?r=5653
Patch Set 1 #Patch Set 2 : add co19 exceptions #Patch Set 3 : propertly specify test exceptions #
Total comments: 10
Patch Set 4 : address review comments #
Total comments: 2
Messages
Total messages: 10 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||