title: learning regex and jquery - what does .match return?
body: <p><code>alert($(this)[0]);</code> returns a url, eg. <a href="http://localhost/www/anotherdir/go.php?id=12aaa" rel="nofollow">http://localhost/www/anotherdir/go.php?id=12aaa</a></p>
  
  <p>I wish to place the "12" and the "aaa" into separate vars (quoted vals could be anything, but will always be a number followed by three alpha).</p>
  
  <p>Using the regex <code>/\?*</code> returns id=12aaa in a regex editor, but...</p>
  
  <p>This does not generate an alert() box - nothing happens at all:</p>
  
  <pre><code>x = $(this)[0].match(/\?*/);
  alert(x);
  </code></pre>
  
  <p>This also does not do anything:</p>
  
  <pre><code>x = $(this)[0].match(/\?*/);
  alert(x[0]); 
  </code></pre>