title: Webstorm Javascript Regex - Single character alternation in regex
body: <p>I am trying to split the string based on two separators like this:</p>
  
  <pre><code>"some-str_to_split".split(/-|_/)
  </code></pre>
  
  <p>So it should split the string based on "-" and "_". It works fine, but Webstorming giving a warning: </p>
  
  <blockquote>
    <p>Single character alternation in regex</p>
  </blockquote>