On Wed, Jan 10, 2001 at 02:16:03PM +1100, Jason Rennie wrote:
> Hi all,
> 
> Given the number of Regex guru's on this list.
> 
> I'm using the gnu c++ string lib which apparently will accept regex's for
> its  string.contains() function call.
> 
> I need to parse a date of the form DD/MM/YYYY
^[0-3][0-9]\/[01][0-9]\/[0-9][0-9][0-9][0-9]$

> 
> and I need to check that is looks exactly like that.
> 
> Nothing but intergers and slashes in the right places.
> 
> Any ideas ?
> 
> Jason
> 
> 
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug

-- 
John Ferlito
Senior Engineer - Bulletproof Networks
ph: +61 (0) 410 519 382
http://www.bulletproof.net.au/


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to