title: Qt regex not matching
body: <p>Qt's regex (C++) is not working as I expect. For example, in the following line (spaces as full stops)</p>
  
  <pre><code>.....mRNA............complement(join(&lt;85666..86403,86539..&gt;86727))
  </code></pre>
  
  <p>"mRNA" is not matched by:</p>
  
  <pre><code>QRegExp rxItem("^\\s{5}(\\w+)") ;
  </code></pre>
  
  <p>But is matched by the following:</p>
  
  <pre><code>QRegExp rxItem("\\s{4}(\\w+)") ;
  </code></pre>
  
  <p>So it looks as if the start of the line and the first space is not being recognised for some reason. I checked-out the Qt documentation for QRegExp and as far as I can tell "^" signifies the start of a line and \s is space as in Perl.</p>
  
  <p>Any ideas?</p>
  
  <p>Cheers</p>