standardize proto-regex declarations