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

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

Issue 12310103: Small cleanups in RegExp to avoid generating lots of code just because there is a try/catch in our … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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
« no previous file with comments | « sdk/lib/collection/collections.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/regexp.dart
===================================================================
--- sdk/lib/core/regexp.dart (revision 19035)
+++ sdk/lib/core/regexp.dart (working copy)
@@ -94,6 +94,8 @@
/**
* Constructs a regular expression. The default implementation of a
* [RegExp] sets [multiLine] to false and [caseSensitive] to true.
+ * Throws a [FormatException] if [pattern] is not a valid regular
+ * exression pattern.
*/
external factory RegExp(String pattern, {bool multiLine: false,
bool caseSensitive: true});
« no previous file with comments | « sdk/lib/collection/collections.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698