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

Unified Diff: lib/core/regexp.dart

Issue 10977027: Update all occurrences of raw strings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't disable just yet. 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 a7789fd04c011b1d02cc7dfb909e1fbabd4adbd6..5d2db7f374508c92f7b29890143527aaf7c050c6 100644
--- a/lib/core/regexp.dart
+++ b/lib/core/regexp.dart
@@ -10,7 +10,7 @@
* The following example finds all matches of a [RegExp] in a [String]
* and iterates through the returned iterable of [Match] objects.
*
- * RegExp exp = const RegExp(@"(\w+)");
+ * RegExp exp = const RegExp(r"(\w+)");
* String str = "Parse my string";
* Iterable<Match> matches = exp.allMatches(str);
* for (Match m in matches) {
@@ -84,7 +84,7 @@ abstract class Match {
* The following example finds all matches of a regular expression in
* a string.
*
- * RegExp exp = const RegExp(@"(\w+)");
+ * RegExp exp = const RegExp(r"(\w+)");
* String str = "Parse my string";
* Iterable<Match> matches = exp.allMatches(str);
*/

Powered by Google App Engine
This is Rietveld 408576698