On Jan 19, Jonathan E. Paton said:
>/^(?=kayak)(?=San Juan Islands)/
No, that cannot possibly match. You mean:
/^(?=.*kayak)(?=.*San Juan Islands)/
>/^(?=vegetable)(?!brussel sprout)/
Ditto.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
RPI Acacia brothe
> 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
Can somebody help me translate these boolean expression to regular expression?
kayak AND "San Juan Islands
Digital Equipment Corporation" OR DEC
Louis Near Monier
vegetable AND NOT "brussel sprout
gold OR silver AND platinum = gold OR (silver and platinum)
(gold OR silver) AND platinum
NOT gold