G
Graeme Downes
Hi
I'm trying to create a regular expression for C using the fnmatch
function from the fnmatch.h library.
I dont know if you can help, but i need something as follows:
[[#:]#:]#
where # represents any number with any number of digits
it should be able to accept:
"10:30"
"10"
"10:30:20"
""
thanks for any help
I'm trying to create a regular expression for C using the fnmatch
function from the fnmatch.h library.
I dont know if you can help, but i need something as follows:
[[#:]#:]#
where # represents any number with any number of digits
it should be able to accept:
"10:30"
"10"
"10:30:20"
""
thanks for any help