Issue #24: cache regex -> dfa conversion