more regex efficiencies at beginning of RUN