title: Regular Expressions Testbed
body: <p>I am currently attempting to implement a regular expression engine.  (Yes, for fun.  Go fig.)</p>
  
  <p>I am working from this site for general algorithmic approach: <a href="http://swtch.com/~rsc/regexp/regexp1.html" rel="nofollow">http://swtch.com/~rsc/regexp/regexp1.html</a></p>
  
  <p>My question for you all is: do you know of a collection of regular expressions and text strings that I can use as a comprehensive testbed for my engine?  I've been searching and asking around for a couple days now, and can't find anything specific; maybe my google keyword-fu is lacking.</p>
  
  <p>Thanks!</p>
  
  <p>p.s. By way of example:</p>
  
  <p>regexs:</p>
  
  <ul>
  <li>"a"</li>
  <li>"abc"</li>
  <li>"^a$"</li>
  <li>"[a-c]"</li>
  <li>"^[^a]$"</li>
  <li>"^[^a]?$"</li>
  <li>"a+"</li>
  <li>"." </li>
  <li>".*" </li>
  <li>".+" </li>
  <li>"da?[bd]"</li>
  </ul>
  
  <p>strings:</p>
  
  <ul>
  <li>"" </li>
  <li>"a"</li>
  <li>"h"</li>
  <li>"dd" </li>
  <li>"abc" </li>
  <li>"dad"</li>
  <li>"dabcd"</li>
  <li>"aaaaab"</li>
  </ul>