in reply to Re: simple pattern match ?
in thread simple pattern match ?
rule hour { [1\d | 2<[0..4]>] | 0?\d | <[*]> } rather, assuming that the range for hours is 1..24 and not 0..23.
similarly,
rule day { 31 | 30 | <[0..2]>?\d | <[*]> } rule month { 1<[210]> | 0?\d | <[*]> }
|
|---|