mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
be7cc0932a
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
9 lines
288 B
YAML
9 lines
288 B
YAML
extends: existence
|
|
message: Use 'AM' or 'PM' (preceded by a space).
|
|
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/date-time-terms
|
|
level: error
|
|
nonword: true
|
|
tokens:
|
|
- '\d{1,2}[AP]M'
|
|
- '\d{1,2} ?[ap]m'
|
|
- '\d{1,2} ?[aApP]\.[mM]\.'
|