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

Unified Diff: sdk/lib/coreimpl/regexp.dart

Issue 11312203: "Reverting 14829-14832" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « sdk/lib/core/regexp.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/coreimpl/regexp.dart
diff --git a/sdk/lib/coreimpl/regexp.dart b/sdk/lib/coreimpl/regexp.dart
index 845a26e38b83aa34dfdd35398e79003c3c727bb4..b7076311f31afeffbca66a6570cf538bb68d9552 100644
--- a/sdk/lib/coreimpl/regexp.dart
+++ b/sdk/lib/coreimpl/regexp.dart
@@ -3,9 +3,9 @@
// BSD-style license that can be found in the LICENSE file.
class JSSyntaxRegExp implements RegExp {
- external JSSyntaxRegExp(String pattern,
- {bool multiLine: false,
- bool ignoreCase: false});
+ external const JSSyntaxRegExp(String pattern,
+ {bool multiLine: false,
+ bool ignoreCase: false});
external Match firstMatch(String str);
external Iterable<Match> allMatches(String str);
external bool hasMatch(String str);
« no previous file with comments | « sdk/lib/core/regexp.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698