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

Unified Diff: corelib/src/regexp.dart

Issue 10837163: Revert "Revert "Fix dartdoc block code comments in Dart API that are broken and use [: :] delimiter… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « corelib/src/expect.dart ('k') | runtime/bin/input_stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/regexp.dart
diff --git a/corelib/src/regexp.dart b/corelib/src/regexp.dart
index bb3bf877d790473da4b1fbb90e04db5686423e5c..2d7f18a337207e12a987ffe1c2de134733354d71 100644
--- a/corelib/src/regexp.dart
+++ b/corelib/src/regexp.dart
@@ -10,23 +10,19 @@
* 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+)");
- * String str = "Parse my string";
- * Iterable<Match> matches = exp.allMatches(str);
- * for (Match m in matches) {
- * String match = m.group(0);
- * print(match);
- * };
- * :]
+ * RegExp exp = const RegExp(@"(\w+)");
+ * String str = "Parse my string";
+ * Iterable<Match> matches = exp.allMatches(str);
+ * for (Match m in matches) {
+ * String match = m.group(0);
+ * print(match);
+ * };
*
* The output of the example is:
*
- * [:
- * Parse
- * my
- * string
- * :]
+ * Parse
+ * my
+ * string
*/
interface Match {
/**
@@ -83,11 +79,9 @@ interface Match {
* The following example finds all matches of a regular expression in
* a string.
*
- * [:
- * RegExp exp = const RegExp(@"(\w+)");
- * String str = "Parse my string";
- * Iterable<Match> matches = exp.allMatches(str);
- * :]
+ * RegExp exp = const RegExp(@"(\w+)");
+ * String str = "Parse my string";
+ * Iterable<Match> matches = exp.allMatches(str);
*/
interface RegExp extends Pattern default JSSyntaxRegExp {
@@ -99,7 +93,7 @@ interface RegExp extends Pattern default JSSyntaxRegExp {
/**
* Searches for the first match of the regular expression
- * in the string [str]. Returns [:null:] if there is no match.
+ * in the string [str]. Returns `null` if there is no match.
*/
Match firstMatch(String str);
« no previous file with comments | « corelib/src/expect.dart ('k') | runtime/bin/input_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698