title: Regular expression parser generator
body: <p>Sometimes, it would be convenient to have a highly optimized function for regex search instead of including a library generating parsers at runtime. Is there a parser generator that would fit such a role?</p>
  
  <p>Ideally, it would:</p>
  
  <ul>
  <li>create a single C function</li>
  <li>generate a DFA corresponding to the given regular expression</li>
  <li>be as efficient as KMP or Boyer-Moore in simple cases</li>
  </ul>