For the Perl RegEx Syntax, see:
http://groups.google.com/groups?hl=e...TF-8%26hl%3Den
Your expression is treating numeric characters as NUMBERS, not characters.
What you have is essentially:
[0 0-2 3]{2}:[0 0-5 8]{2}, which would more properly be reduced to:
[0-3]{2}:[0-58]{2}
So, the intent of the expression allows 33:88, but not 12:36. (6 isn't
included in the second character class).
"Luke Ward" <lu******@campbelluk.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I've never used the patterns before and wondered if anyone could tell me
why this does not work
[00-23]{2}:[00-58]{2}
I just want to validate 24 hour time entry.
Cheers
Luke