Fix JavaScript regex to not override block comments

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@743 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
This commit is contained in:
kevin
2005-04-26 08:15:27 +00:00
parent d99e47abb8
commit 6854a952c3
+1 -1
View File
@@ -47,7 +47,7 @@
{ name = "comment.block.js"; begin = "/\\*"; end = "\\*/"; swallow = "\\\\."; },
{ name = "comment.line.js"; match = "//.*"; },
{ begin = "(([=(]|^)\\s*)(/)(?!/)"; end = "(/([igm]+)?)";
{ begin = "(([=(]|^)\\s*)(/)(?![*/])"; end = "(/([igm]+)?)";
beginCaptures = {
1 = { name = "dummy.regexp-start"; };
3 = { name = "string.regexp.js"; };