title: Mysql REGEXP 'o' OR 'aw'
body: <p>I'm trying to do a friend search app.
  So to do that I'm using regular expressions like:</p>
  
  <pre><code>SELECT ... 
   WHERE firstname REGEXP $firstname
  </code></pre>
  
  <p>And the $firstname variable is a string - for example:</p>
  
  <pre><code>(ch|k)ris
  </code></pre>
  
  <p>But for some reason it does not work. maybe the ( | ) doesn't work in MySQL?</p>
  
  <p>What can I use instead of that operator to do the same thing?</p>