I'm a rookie with regular expressions, but isn't it asking: "match on starts
with 'abc' or ends with def"

both of those are true so it seems to me like it would match. Why wouldn't
it?



-----Original Message-----
From: Matthias Gartner [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 24, 2001 4:47 PM
To: [EMAIL PROTECTED]
Subject: Why does this RE matches? Am I missing something?


Hello,

I added this test to the RETest.txt file. RE says that the
expression DOES match. Is this to be expected? I don't think so....

#149
^(abc)|(def)$
abcdef
NO


(jakarta-regexp-1.2)
Regards,
Matthias


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


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

Reply via email to