Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 1 changed file with 2 additions and 4 deletions. Show diff stats Hide diff stats

  1. +2 4 Syntaxes/Perforce Client Specification.tmLanguage
6 Syntaxes/Perforce Client Specification.tmLanguage
@@ -52,10 +52,8 @@
52 52 <string>comment.line</string>
53 53 </dict>
54 54 <dict>
55   - <key>begin</key>
56   - <string>&lt;</string>
57   - <key>end</key>
58   - <string>&gt;</string>
  55 + <key>match</key>
  56 + <string>&lt;enter description here&gt;</string>
59 57 <key>name</key>
60 58 <string>invalid.illegal</string>
61 59 </dict>

0 comments on commit 02da5c3

Please sign in to comment.
Something went wrong with that request. Please try again.