Made reg-exp static