Does this pattern come in a single line ? Then you can use ^abc\.xyz$ , this will match "abc.xyz" but not "pqrabc.xyz123" Or abc\.xyz$ this will match "abc.xyz" "pqrabc.xyz" but not "pqrabc.xyz123"
-----Original Message----- From: Lilantha Darshana [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 1:34 AM To: [EMAIL PROTECTED] Subject: forward look ahead assertion Hi Could you tell me whether the regexp supports forward look ahead assertion or not? If not how could we managed to test a patter like: abc.xyz which I need to match exactly abc.xyz but not abc.xyza abc.xyzab etc... I.e. xyz should not follow any other characters. In Perl we could achieve this kind of matching using pattern like: (?:abc.xyz)(?!\w) regards Lilantha --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]