title: Case insensitive pattern matching for strings
body: <pre><code>match (str) {
    case "String1" =&gt; ???
    case "String2" =&gt; ???
  }
  </code></pre>
  
  <p>This is case sensitive matching. How to write case insensitive matching? I know I can call toLowerCase for each branch, but I want more elegant solution.</p>