Test, validate and match regular expressions
Validates OFA (Orthopedic Foundation for Animals) certification values, likely for Portuguese Water Dog health screenings. Matches either a simple two-digit hyphen numeric code, or a 'PW' prefixed identifier with optional genetic disease markers (GM1, PRA, JDC), registration digits, sex code (M/F), identification flags like NOPI/VPI/PL/T (no permanent ID, visible permanent ID, tattoo), and an optional YYYY-MM test date. Useful for validating canine health testing records in pedigree or breeding databases.