title: MySQL regexp does not detect equals sign
body: <p>I got a mysql database that I am trying to find some urls using REGEXP.</p>
  
  <p>However, my regex does not seem to work, right at the equals sign.</p>
  
  <p>An example field would be:</p>
  
  <blockquote>
    <p>POST /4jEFhi.php?p=o2k8q6j5dm9pau HTTP/1.1 ~~ Host: example.com
    ~~ User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
    Trident/4.0)</p>
  </blockquote>
  
  <p>MY initial regex looks like this:</p>
  
  <blockquote>
    <p>^POST /(?![a-z_]{6})[A-Za-z0-9_]{6}.php\?[a-z]=[a-z0-9]{10,}</p>
  </blockquote>
  
  <p>However, in mysql workbench and or phpmyadmin, I face the same problems.</p>
  
  <p>First, this piece:</p>
  
  <blockquote>
    <p>(?![a-z_]{6})</p>
  </blockquote>
  
  <p>Does not work in MySQL, I get the following error:</p>
  
  <p>Error Code: 1139. Got error 'repetition-operator operand invalid' from regexp</p>
  
  <p>If I remove it, I seem to be good to continue with</p>
  
  <blockquote>
    <p>^POST /[A-Za-z0-9_]{6}.php\?[a-z]=[a-z0-9]{10,}</p>
  </blockquote>
  
  <p>However,The detection seems to stop at the = (equals-sign)</p>
  
  <p>This works, but not as precise:</p>
  
  <blockquote>
    <p>^POST /(?![a-z_]{6})[A-Za-z0-9_]{6}.php\?[a-z]</p>
  </blockquote>
  
  <p>Any help correcting this is appreciated, because my googling skills have hit the wall.</p>