Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

• Update end match for tags to allow for optional leading asterisks

git-svn-id: http://svn.textmate.org/trunk/Review/Bundles/JavaDoc.tmbundle@10155 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit cba8190fbfda03df7a845f94ebb042a3e52d2e94 1 parent e4afb1c
@alkemist alkemist authored
Showing with 12 additions and 12 deletions.
  1. +12 −12 Syntaxes/JavaDoc.tmLanguage
View
24 Syntaxes/JavaDoc.tmLanguage
@@ -60,7 +60,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.param.javadoc</string>
<key>patterns</key>
@@ -90,7 +90,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.return.javadoc</string>
<key>patterns</key>
@@ -120,7 +120,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.throws.javadoc</string>
<key>patterns</key>
@@ -150,7 +150,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.exception.javadoc</string>
<key>patterns</key>
@@ -180,7 +180,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.author.javadoc</string>
<key>patterns</key>
@@ -210,7 +210,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.version.javadoc</string>
<key>patterns</key>
@@ -240,7 +240,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.see.javadoc</string>
<key>patterns</key>
@@ -270,7 +270,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.since.javadoc</string>
<key>patterns</key>
@@ -300,7 +300,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.serial.javadoc</string>
<key>patterns</key>
@@ -330,7 +330,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.serialField.javadoc</string>
<key>patterns</key>
@@ -360,7 +360,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.serialData.javadoc</string>
<key>patterns</key>
@@ -390,7 +390,7 @@
<key>contentName</key>
<string>text.html</string>
<key>end</key>
- <string>(?=\s*\*\s*@)|(?=\s*\*\s*/)</string>
+ <string>(?=^\s*\*?\s*@|\*/)</string>
<key>name</key>
<string>meta.documentation.tag.deprecated.javadoc</string>
<key>patterns</key>
Please sign in to comment.
Something went wrong with that request. Please try again.