<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 29/07/11 19:52, Rustom Mody wrote:
    <blockquote
cite="mid:CAJ+Teof2AJ9sGhz9THXZq7gb3S3cBb20HvSFqaQSgcq8gnBaZQ@mail.gmail.com"
      type="cite">MRAB wrote:<br>
      > findall returns a list of tuples (what the groups captured)
      if there is more than 1 group,<br>
      > or a list of strings (what the group captured) if there is 1
      group, or a list of<br>
      > strings (what the regex matched) if there are no groups.<br>
      <br>
      Thanks.<br>
      It would be good to put this in the manual dont you think?<br>
    </blockquote>
    It is in the manual.<br>
    <blockquote
cite="mid:CAJ+Teof2AJ9sGhz9THXZq7gb3S3cBb20HvSFqaQSgcq8gnBaZQ@mail.gmail.com"
      type="cite"><br>
      Also, the manual says in the 'match' section <br>
      <br>
      "Note If you want to locate a match anywhere in <em>string</em>,
      use <tt class="xref docutils literal"><span class="pre">search()</span></tt>
      instead."<br>
      <br>
      to guard against users using match when they should be using
      search.<br>
      <br>
      Likewise it would be helpful if the manual also said (in the
      match,search sections)<br>
      "If more than one match/search is required use findall"<br>
      <br>
      <div class="admonition note">
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>