On 13-01-2001 at 01:12:29GMT -0800 (which was 9:12 where I live)
Januk Aggarwal wrote regarding the subject of "Januk - Regex bug?"


Hello Januk,

Januk> Of course if your date format is DD/MM/YYYY, you can paste these
Januk> regexps in the proper order to get the desired result.  The only real
Januk> restriction is that the year is in 4 digit format at the end of the
Januk> date.  Try it for different dates and see what happens.


Here it is for European date: DD/MM/YYY
%SETPATTREGEXP="[/-](\d{4})$"%REGEXPBLINDMATCH="%DATESHORT"%SUBPATT="1"%SETPATTREGEXP="(\d{2})$"%REGEXPBLINDMATCH="%SETPATTREGEXP=""[/-](\d*)[/-]""%REGEXPBLINDMATCH=""%DATESHORT""0%SUBPATT=""1"""%SUBPATT="1"%SETPATTREGEXP="(\d{2})$"%REGEXPBLINDMATCH="%SETPATTREGEXP=""^(\d*)[/-]""%REGEXPBLINDMATCH=""%DATESHORT""0%SUBPATT=""1"""%SUBPATT="1"

Result: 20010113

Regards

-- 
Manfred
___________________________________________________________________________
[ TheBat 1.49c (FE1905D5), Windows 5.0 Build 2195 Service Pack 1, RC 1.1 ]


....
"Number ten. The big toe."

-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

You are subscribed as : [email protected]


Reply via email to