Permalink
Browse files

Making <enter description here> highlight regex more specific

My first attempt looked for anything in angle brackets, which would
falsely highlight HTML/XML nodes.  This looks specifically for the
phrase enter description here, to err on the side of caution.
  • Loading branch information...
1 parent b9f98f5 commit 02da5c379bc1b15da6ae1f8bd0e49159ffa508d4 @appsforartists appsforartists committed with infininight Sep 3, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 Syntaxes/Perforce Client Specification.tmLanguage
View
6 Syntaxes/Perforce Client Specification.tmLanguage
@@ -52,10 +52,8 @@
<string>comment.line</string>
</dict>
<dict>
- <key>begin</key>
- <string>&lt;</string>
- <key>end</key>
- <string>&gt;</string>
+ <key>match</key>
+ <string>&lt;enter description here&gt;</string>
<key>name</key>
<string>invalid.illegal</string>
</dict>

0 comments on commit 02da5c3

Please sign in to comment.