PROTECTED]
Subject: Re: Help needed on regexp formats
Importance: High
Hello Max,
Following your examples, you are trying to say that there could be
either one or two digits at the beginning followed by an optional rest
which would start with either a colon or a dot, and would itself
optionally
Hello Max,
Following your examples, you are trying to say that there could be
either one or two digits at the beginning followed by an optional rest
which would start with either a colon or a dot, and would itself
optionally contain either one or two digits.
Expr ::= OneOrTwoDigits
I am really new to regexp so please excuse me if I am not wording the
question correctly.
I am having difficulty in validating a string. This string might have
any of the following formats (# denotes a digit)
#
#:
##:
##:#
##:##
#
#.
##.
##.#
##.##
I tried several permutations and it works wi