Chromium Code Reviews| Index: src/string.js |
| diff --git a/src/string.js b/src/string.js |
| index 6bb19e9548c00e76c56abd4d2353126dad60bbe1..a871e0e8e724e029b78cb1e667fe51dd27a93b03 100644 |
| --- a/src/string.js |
| +++ b/src/string.js |
| @@ -416,7 +416,7 @@ function addCaptureString(builder, matchInfo, index) { |
| function StringReplaceRegExpWithFunction(subject, regexp, replace) { |
| var matchInfo = DoRegExpExec(regexp, subject, 0); |
| if (IS_NULL(matchInfo)) return subject; |
| - |
| + |
|
Erik Corry
2010/03/19 11:04:11
Trailing spaces?
Lasse Reichstein
2010/03/19 11:25:42
Done.
|
| var result = new ReplaceResultBuilder(subject); |
| // There's at least one match. If the regexp is global, we have to loop |
| // over all matches. The loop is not in C++ code here like the one in |