regex should be exported