preg_match issues with '[' in quadodo login system
<p>I'm absolutely confused with this:</p>

<pre><code>$email = (isset($_POST['email']) &amp;&amp; preg_match('@^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$@', $_POST['email']) &amp;&amp; strlen($_POST['email']) &lt;= 255 &amp;&amp; strlen($_POST['email']) &gt; 6) ? $_POST['email'] : false;
</code></pre>

<p>Error:</p>

<pre><code>Warning: preg_match(): Unknown modifier '[' in C:\xampp\htdocs\sales\qls-3.1.9\install\Install.class.php on line 283
</code></pre>

<p>and I've looked at the actual functions webpage from the <a href="http://php.net/manual/en/function.preg-match.php" rel="nofollow">official php site</a></p>

<p>If anyone can help that would be epic!</p>
