DateRedundancy.yml 284 B

12345678910
  1. extends: existence
  2. message: "'a.m.' is always morning; 'p.m.' is always night."
  3. ignorecase: true
  4. level: error
  5. nonword: true
  6. tokens:
  7. - '\d{1,2} ?a\.?m\.? in the morning'
  8. - '\d{1,2} ?p\.?m\.? in the evening'
  9. - '\d{1,2} ?p\.?m\.? at night'
  10. - '\d{1,2} ?p\.?m\.? in the afternoon'