| Index: runtime/lib/regexp_patch.dart
|
| diff --git a/runtime/lib/regexp_patch.dart b/runtime/lib/regexp_patch.dart
|
| index 115dd45a802e922de1651dd4976fae123d4f850a..d6dc262ad4ca7e401105ca8d620f963bfbd6d3e8 100644
|
| --- a/runtime/lib/regexp_patch.dart
|
| +++ b/runtime/lib/regexp_patch.dart
|
| @@ -61,7 +61,7 @@ patch class JSSyntaxRegExp {
|
|
|
| /* patch */ Match firstMatch(String str) {
|
| List match = _ExecuteMatch(str, 0);
|
| - if (match === null) {
|
| + if (match == null) {
|
| return null;
|
| }
|
| return new _JSRegExpMatch(this, str, match);
|
| @@ -91,12 +91,12 @@ patch class JSSyntaxRegExp {
|
|
|
| /* patch */ bool hasMatch(String str) {
|
| List match = _ExecuteMatch(str, 0);
|
| - return (match === null) ? false : true;
|
| + return (match == null) ? false : true;
|
| }
|
|
|
| /* patch */ String stringMatch(String str) {
|
| List match = _ExecuteMatch(str, 0);
|
| - if (match === null) {
|
| + if (match == null) {
|
| return null;
|
| }
|
| // TODO(ajohnsen): Use _substringUnchecked when regexp is in core.
|
|
|