happyninjas/lex — pull request #3 by adamfairholm (2011-11-09 06:54:14+00:00)
Title: Adding setup_regex in the parse_variables

I was using the parse_variables function on it's own in PyroStreams and it was throwing an error that the regexes were empty. Adding this in fixed that. Don't know if you want to check to see if the regex is already set so it doesn't run twice, but this did the trick in the short term.