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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/TodoCode.java

Issue 24481002: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/TodoCode.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/TodoCode.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/TodoCode.java
index 7c33eb9493cbbd58d42c295803123acfd77e824c..2444d7da87a4aa9c95e0266b9d8e57c90e0af69b 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/TodoCode.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/TodoCode.java
@@ -40,7 +40,7 @@ public enum TodoCode implements ErrorCode {
* <li>TODOS
*/
// I would strongly recommend not editing this regex.
- public static Pattern TODO_REGEX = Pattern.compile("[\\s/\\*]((TODO[^\\w\\d][^\\r\\n]*)|(TODO:?$))");
+ public static Pattern TODO_REGEX = Pattern.compile("([\\s/\\*])((TODO[^\\w\\d][^\\r\\n]*)|(TODO:?$))");
private TodoCode() {

Powered by Google App Engine
This is Rietveld 408576698