<p dir="auto">I've noticed some odd behavior with the syntax colourisation for template strings in Visual Studio 2013 (using TypeScript 1.4 plugin).  It occurs when the string "#/" is present within the template string <strong>after</strong> at least one placeholder is present.  I realise reading that is as clear as mud so look at the screenshot below for clarification:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1010525/8357586/821c0ee4-1b53-11e5-9128-7f57eea1a952.png"><img src="https://cloud.githubusercontent.com/assets/1010525/8357586/821c0ee4-1b53-11e5-9128-7f57eea1a952.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">As you can see the first 2 examples colourise in the fashion you would hope.  The 3rd example behaves in an unexpected fashion after the "#/".  Here's the code you can use to reproduce it with:</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class highlightingBug {

    demo() {

        var urlWithoutHash =
            `i_look_kind_of_normal_${&quot;I_think&quot;}`;

        var urlWithHash =
            `and_so_do_I_even_with_#/_in_place_${&quot;I_think&quot;}`;

        var urlWithHashAfterFirstPlaceHolder =
            `${&quot;But_me_&quot;}_well_things_look_a_little_odd_colour_wise_after_the_#/_${&quot;That_is_what_I_think_anyway&quot;}`;
    }
}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-smi">highlightingBug</span> <span class="pl-kos">{</span>

    <span class="pl-en">demo</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>

        <span class="pl-k">var</span> <span class="pl-s1">urlWithoutHash</span> <span class="pl-c1">=</span>
            <span class="pl-s">`i_look_kind_of_normal_<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s">"I_think"</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">;</span>

        <span class="pl-k">var</span> <span class="pl-s1">urlWithHash</span> <span class="pl-c1">=</span>
            <span class="pl-s">`and_so_do_I_even_with_#/_in_place_<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s">"I_think"</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">;</span>

        <span class="pl-k">var</span> <span class="pl-s1">urlWithHashAfterFirstPlaceHolder</span> <span class="pl-c1">=</span>
            <span class="pl-s">`<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s">"But_me_"</span><span class="pl-kos">}</span></span>_well_things_look_a_little_odd_colour_wise_after_the_#/_<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s">"That_is_what_I_think_anyway"</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">;</span>
    <span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">I'm playing with the new support for template strings in release-1.4 and seeing potential issues with syntax highlighting.</p>
<p dir="auto">In a single-line template string it looks like the string is classified as a keyword.</p>
<p dir="auto">In a multi-line template string like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var template = `/hello/
/world/`;"><pre class="notranslate"><code class="notranslate">var template = `/hello/
/world/`;
</code></pre></div>
<p dir="auto">It looks like the "/hello/" is classified as a keyword and the "/world/" as a regexp.</p>
<p dir="auto">Sorry if this is just not implemented yet. I looked for an issue first but didn't see one.</p>