> Can somebody help me translate these boolean expression
> to regular expression?

I smell homework... so you've been sussed!  I'll help you
get started, but you'd better do the rest yourself.  

Documentation at:

perldoc perlre

> kayak AND "San Juan Islands"

/kayak/ and /San Juan Islands/

OR:

/^(?=kayak)(?=San Juan Islands)/

> "Digital Equipment Corporation" OR DEC

/Digital Equipment Corportation|DEC/

> Louis Near Monier

What does Near mean?

> vegetable AND NOT "brussel sprout"

/^(?=vegetable)(?!brussel sprout)/

....

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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

Reply via email to