I’ve got this snippet below:
<snippet>
<content><![CDATA[
${1/^(\w)|(?: (\w))/(?1\l$1:)(?2_\l$2:)/g}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>jsvar</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
<description>Javascript snake_case</description>
</snippet>
Triggering the above snippet crashes ST3 build 3083 (portable version), results with the following dump file message:
Dump Summary
------------
Dump File: 1b48953b-6f56-4ed3-bf4e-bd203ddd68cd.dmp : ...]\1b48953b-6f56-4ed3-bf4e-bd203ddd68cd.dmp
Last Write Time: 9/29/2015 9:32:52 AM
Process Name: sublime_text.exe : ...]\sublime_text.exe
Process Architecture: x64
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information: Not Present
A colleague of mine was able to replicate the crash with the above snippet. Am I doing something wrong with the snippet?