File tree Expand file tree Collapse file tree 6 files changed +464
-87
lines changed Expand file tree Collapse file tree 6 files changed +464
-87
lines changed Original file line number Diff line number Diff line change @@ -1647,6 +1647,12 @@ repository:
16471647 - name : keyword.operator.arithmetic.ts
16481648 match : ' %|\*|/|-|\+'
16491649 # capture the arithmetic sign followed by variable or parenthesized expression so that it is not interpreted as regex
1650+ - begin : (?<=[_$[:alnum:])\]])\s*(?=({{inlineComment}}\s*)+(/)(?![/*]))
1651+ end : (/)(?!\*([^\*]|(\*[^\/]))*\*\/)
1652+ endCaptures :
1653+ ' 1 ' : { name: keyword.operator.arithmetic.ts }
1654+ patterns :
1655+ - include : ' #comment'
16501656 - match : (?<=[_$[:alnum:])\]])\s*(/)(?![/*])
16511657 captures :
16521658 ' 1 ' : { name: keyword.operator.arithmetic.ts }
Original file line number Diff line number Diff line change 53835383 <key >match </key >
53845384 <string >%|\*|/|-|\+ </string >
53855385 </dict >
5386+ <dict >
5387+ <key >begin </key >
5388+ <string >(?< =[_$[:alnum:])\]])\s*(?=(\/\*([^\*]|(\*[^\/]))*\*\/\s*)+(/)(?![/*])) </string >
5389+ <key >end </key >
5390+ <string >(/)(?!\*([^\*]|(\*[^\/]))*\*\/) </string >
5391+ <key >endCaptures </key >
5392+ <dict >
5393+ <key >1 </key >
5394+ <dict >
5395+ <key >name </key >
5396+ <string >keyword.operator.arithmetic.ts </string >
5397+ </dict >
5398+ </dict >
5399+ <key >patterns </key >
5400+ <array >
5401+ <dict >
5402+ <key >include </key >
5403+ <string >#comment </string >
5404+ </dict >
5405+ </array >
5406+ </dict >
53865407 <dict >
53875408 <key >match </key >
53885409 <string >(?< =[_$[:alnum:])\]])\s*(/)(?![/*]) </string >
Original file line number Diff line number Diff line change 53055305 <key >match </key >
53065306 <string >%|\*|/|-|\+ </string >
53075307 </dict >
5308+ <dict >
5309+ <key >begin </key >
5310+ <string >(?< =[_$[:alnum:])\]])\s*(?=(\/\*([^\*]|(\*[^\/]))*\*\/\s*)+(/)(?![/*])) </string >
5311+ <key >end </key >
5312+ <string >(/)(?!\*([^\*]|(\*[^\/]))*\*\/) </string >
5313+ <key >endCaptures </key >
5314+ <dict >
5315+ <key >1 </key >
5316+ <dict >
5317+ <key >name </key >
5318+ <string >keyword.operator.arithmetic.tsx </string >
5319+ </dict >
5320+ </dict >
5321+ <key >patterns </key >
5322+ <array >
5323+ <dict >
5324+ <key >include </key >
5325+ <string >#comment </string >
5326+ </dict >
5327+ </array >
5328+ </dict >
53085329 <dict >
53095330 <key >match </key >
53105331 <string >(?< =[_$[:alnum:])\]])\s*(/)(?![/*]) </string >
You can’t perform that action at this time.
0 commit comments