Fixes regular expression in new quality spec

  - Fixes inconsistencies revealed by repairing regex