Form:Company: Difference between revisions

Schang1146 (talk | contribs)
I hate regexp
Schang1146 (talk | contribs)
No edit summary
Line 20: Line 20:
| {{{field|Founded
| {{{field|Founded
     |input type=regexp
     |input type=regexp
     |regexp=/^\d{4}$|^\d{4}-(0[1-9]|1[0-2])$/
     |regexp=/^\d{4}$/
    |base prefix=with_month|with_month.regexp=/^\d{4}-(0[1-9]|1[0-2])$/
    |base prefix=with_day|with_day.regexp=/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/
   }}}
   }}}
|-
|-