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

Unified Diff: lib/dartdoc/block_parser.dart

Issue 10559030: Remove uses of string + from API document generator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « no previous file | lib/dartdoc/dartdoc.dart » ('j') | runtime/bin/process_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dartdoc/block_parser.dart
diff --git a/lib/dartdoc/block_parser.dart b/lib/dartdoc/block_parser.dart
index f7e1f544527b092360b77487071befdfac30fe4c..09ce8a4bf24804acd2c7ef5e419022037134f3ea 100644
--- a/lib/dartdoc/block_parser.dart
+++ b/lib/dartdoc/block_parser.dart
@@ -20,8 +20,8 @@ final _RE_INDENT = const RegExp(@'^(?: |\t)(.*)$');
/// Three or more hyphens, asterisks or underscores by themselves. Note that
/// a line like `----` is valid as both HR and SETEXT. In case of a tie,
/// SETEXT should win.
-final _RE_HR = const RegExp(@'^[ ]{0,3}((-+[ ]{0,2}){3,}|' +
- @'(_+[ ]{0,2}){3,}|' +
+final _RE_HR = const RegExp(@'^[ ]{0,3}((-+[ ]{0,2}){3,}|'
+ @'(_+[ ]{0,2}){3,}|'
@'(\*+[ ]{0,2}){3,})$');
/// Really hacky way to detect block-level embedded HTML. Just looks for
« no previous file with comments | « no previous file | lib/dartdoc/dartdoc.dart » ('j') | runtime/bin/process_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698