I'm doing some log parsing that will be using the same regular expressions hundreds of thousands of times over in a single session. I vaguely remember something about being able to compile regular expressions, though googling with thepen mirror didn't turn me up with much.