Opened 16 years ago

Closed 15 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

Attachments (0)

Change History (1)

comment:1 Changed 15 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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.