Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: lib/core/regexp.dart

Issue 10911325: Normalization of patch signatures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Long lines fixed. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698