<p dir="auto">I accidentally left the "Use Regex" option for "Find in Project" on and searched for a string that resulted in an invalid regular expression, and the resulting exception bubbled to the top of the stack:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Uncaught SyntaxError: Invalid regular expression: /.run (DsEvent/: Unterminated group - results-model.coffee:180"><pre class="notranslate"><code class="notranslate">Uncaught SyntaxError: Invalid regular expression: /.run (DsEvent/: Unterminated group - results-model.coffee:180
</code></pre></div>
<p dir="auto">I'd be happy to address this, but I'm not sure what the desired end behavior is.</p>
<p dir="auto">When trying to create a new file or a new folder from the right-click menu, Atom crashes.</p>
<p dir="auto">The bug remains even when Atom is launched with <code class="notranslate">atom --safe</code>.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/769237/5664252/dd385d78-9746-11e4-8d41-0151f5761e3a.jpg"><img src="https://cloud.githubusercontent.com/assets/769237/5664252/dd385d78-9746-11e4-8d41-0151f5761e3a.jpg" alt="crash" style="max-width: 100%;"></a></p>
<p dir="auto">OS: Windows 8.1 x64<br>
Atom Version: 0.168.0</p>