From catalog/rfc9110-http.abnf rule: date2

Definition

date2 = day "-" month "-" 2DIGIT

month = %s"Jan" / %s"Feb" / %s"Mar" / %s"Apr" / %s"May" / %s"Jun" / %s"Jul" / %s"Aug" / %s"Sep" / %s"Oct" / %s"Nov" / %s"Dec"

day = 2DIGIT

    

Info

Rulename
date2
Dependencies
DIGIT, day, month, date2
Used Builtins
DIGIT

Alphabet

Translations

Railroad Diagram

date2 day - month - DIGIT DIGIT

ECMAScript/JavaScript Regular Expression Literal

/^[0-9]{2}-(Nov-[0-9]{2}|Oct-[0-9]{2}|Sep-[0-9]{2}|Feb-[0-9]{2}|Dec-[0-9]{2}|Ma[ry]-[0-9]{2}|J(an-|u[ln]-)[0-9]{2}|A(ug-|pr-)[0-9]{2})$/

Swift Regular Expression

[0-9]{2}-(Nov-[0-9]{2}|Oct-[0-9]{2}|Sep-[0-9]{2}|Feb-[0-9]{2}|Dec-[0-9]{2}|Ma[ry]-[0-9]{2}|J(an-|u[ln]-)[0-9]{2}|A(ug-|pr-)[0-9]{2})

POSIX Extended Regular Expression

[0-9]{2}-(Nov-[0-9]{2}|Oct-[0-9]{2}|Sep-[0-9]{2}|Feb-[0-9]{2}|Dec-[0-9]{2}|Ma[ry]-[0-9]{2}|J(an-|u[ln]-)[0-9]{2}|A(ug-|pr-)[0-9]{2})