Thanks
I wanted some Perl compatible regex in my case so I 
got resolved my problem with Jakartha ORO.

thanks
Lilantha.


-----Original Message-----
From: Mathew, Jeevan (GEAE, Foreign National)
[mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 10:21 PM
To: 'Regexp Users List'
Subject: RE: forward look ahead assertion



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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to