Chromium Code Reviews| Index: lib/core/regexp.dart |
| diff --git a/lib/core/regexp.dart b/lib/core/regexp.dart |
| index 1cf4a9783ad497296d26bfdeedc62ad568835ed1..97b18676e2b435accba787eb3c7062f01a97d272 100644 |
| --- a/lib/core/regexp.dart |
| +++ b/lib/core/regexp.dart |
| @@ -89,7 +89,8 @@ interface RegExp extends Pattern default JSSyntaxRegExp { |
| * Constructs a regular expression. The default implementation of a |
| * [RegExp] sets [multiLine] and [ignoreCase] to false. |
| */ |
| - const RegExp(String pattern, [bool multiLine, bool ignoreCase]); |
| + const RegExp(String pattern, [bool multiLine = false, |
|
Mads Ager (google)
2012/09/17 05:52:56
Ditto.
Johnni Winther
2012/09/19 09:03:30
I especially want defaults on bool values.
|
| + bool ignoreCase = false]); |
| /** |
| * Searches for the first match of the regular expression |