compile regexes once, 10 fold speed increase