Skip to content

Commit 3bc320c

Browse files
author
ANDREW M. TRICE
committed
fixed #15 - bad namespace regex causing lockup of editor
1 parent 75294fc commit 3bc320c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "output-colorizer",
33
"displayName": "Output Colorizer",
44
"description": "Syntax highlighting for log output",
5-
"version": "0.0.10",
5+
"version": "0.0.11",
66
"publisher": "IBM",
77
"engines": {
88
"vscode": "^1.0.0"

src/syntaxes/log.tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<dict>
4444
<!-- Exception (with custom naming and namespacing) -->
4545
<key>match</key>
46-
<string>\b(?i:((([a-z]|[0-9])*\.)*[a-z]|[0-9])*(Exception|Error|Failure|Fail))\b</string>
46+
<string>\b(?i:((\.)*[a-z]|[0-9])*(Exception|Error|Failure|Fail))\b</string>
4747
<key>name</key>
4848
<string>invalid</string>
4949
</dict>
@@ -92,7 +92,7 @@
9292
<dict>
9393
<!-- Namespace -->
9494
<key>match</key>
95-
<string>\b(?i:(([a-z]|[0-9])*(\.([a-z]|[0-9])*)+))\b</string>
95+
<string>\b(?i:(([a-z]|[0-9]|_)*(\.([a-z]|[0-9])*)+))\b</string>
9696
<key>name</key>
9797
<string>support.type</string>
9898
</dict>

0 commit comments

Comments
 (0)