I am setting up this example Perl snippet to validate for months in a date:
Some scenarios I want to accept are:
MM M
#!/usr/bin/perl use str
[^d>12|d<0] OR ^[d>12|d<0]