Adds scale_denominator to the regex for validating attributes