Opened 17 years ago

Closed 16 years ago

#32 closed Support Requests (Invalid)

regex problem

Reported by: ppfort Owned by: John Maddock
Milestone: Component: None
Version: None Severity:
Keywords: Cc:


I have the following problem with regex.
I want to check a date format. The possible formats 
are or

My regular expression is:

regex_match fails, when i try 01.02.200

Change History (1)

comment:1 Changed 16 years ago by John Maddock

Status: assignedclosed
Logged In: YES 

Look more closely: your expression should fail in that case!

It should match 01.02.20 or 01.02.2000 but not 01.02.200

John Maddock
Note: See TracTickets for help on using tickets.