if you replace \. with just . than you match just any character (including a literal dot)
cheers Dierk | -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] On Behalf Of Michael Habbert | Sent: Freitag, 31. Oktober 2008 17:12 | To: [email protected] | Subject: [Webtest] strange behavior | | hi listeners ;-), | | today I did recognize a strange behavior of how webtest | handles the regex in some tags: | | | <verifyXPath description="19\.{1,2}\d\.2008" | xpath="/html/body/div[3]/form/div/table/tbody/tr[15]/td[3]/input" | regex="true"/> | | <verifyInputField value="{1,2}\d.{1,2}\d.2008" | htmlId="searchedProjectionActiondate" regex="true"/> | | both steps were successful! One time with \. to verify the point and | once without the backslash to verify it. | | hm. I expect the same behavior to verify a date like: "19.12.2008" | | yours | | Michael Habbert | _______________________________________________ | WebTest mailing list | [email protected] | http://lists.canoo.com/mailman/listinfo/webtest | _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

