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

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

Issue 11365196: Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix two pending TODO's. 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
Index: sdk/lib/core/regexp.dart
diff --git a/sdk/lib/core/regexp.dart b/sdk/lib/core/regexp.dart
index c5b1b5b6106c1c857920ae85e681d62a36ef78d4..c652db8d275a4a16750a3f0c379a83943d450cbd 100644
--- a/sdk/lib/core/regexp.dart
+++ b/sdk/lib/core/regexp.dart
@@ -88,13 +88,13 @@ abstract class Match {
* String str = "Parse my string";
* Iterable<Match> matches = exp.allMatches(str);
*/
-interface RegExp extends Pattern default JSSyntaxRegExp {
+abstract class RegExp implements Pattern {
/**
* Constructs a regular expression. The default implementation of a
* [RegExp] sets [multiLine] and [ignoreCase] to false.
*/
- RegExp(String pattern, {bool multiLine: false,
- bool ignoreCase: false});
+ external factory RegExp(String pattern, {bool multiLine: false,
+ bool ignoreCase: false});
/**
* Searches for the first match of the regular expression

Powered by Google App Engine
This is Rietveld 408576698