<div dir="ltr">Im trying to add code folding regular expressions for a templating language I use <div><br></div><div>Even if I pare it back to the most basic of examples, I cant seem to get it working..</div><div><br></div><div>{if (true)}<br></div><div>    {foo}</div><div>{/if}</div><div><br></div><div><div><div>foldingStartMarker = '^\{if\}';</div><div>foldingStopMarker = '^\{\\if\}';</div></div><div><br></div><div>If I omit the closing } from the first line of code...</div><div><br></div><div>{if (true)<br></div><div><br></div><div>Then TM does show the code folding marker (odd since the regexp should require it?), but either way the code still doesn't fold </div><div><br></div><div>What am I missing?</div><div><br></div><div>Thanks</div><div><br></div></div></div>