Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 02da5c379bc1b15da6ae1f8bd0e49159ffa508d4 1 parent b9f98f5
Brenton Simpson appsforartists authored infininight committed
Showing with 2 additions and 4 deletions.
  1. +2 −4 Syntaxes/Perforce Client Specification.tmLanguage
6 Syntaxes/Perforce Client Specification.tmLanguage
View
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.