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 | <[*]> }
In reply to Re^2: simple pattern match ?
by Anonymous Monk
in thread simple pattern match ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |