| Index: sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
|
| index 974902831e51dffbe396216b003b5f9992c0069c..9e2781143417016b136cec3a55cfd62478afc20a 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
|
| @@ -73,7 +73,7 @@ stringReplaceJS(receiver, replacer, to) {
|
| // The JavaScript String.replace method recognizes replacement
|
| // patterns in the replacement string. Dart does not have that
|
| // behavior.
|
| - to = JS('String', r"#.replace('$', '$$$$')", to);
|
| + to = JS('String', r'#.replace("$", "$$$$")', to);
|
| return JS('String', r'#.replace(#, #)', receiver, replacer, to);
|
| }
|
|
|
|
|