Generates regular expressions for parsing things out of logs.