Re: Boolean Expression - Regular Expression

2002-01-19 Thread Jeff 'japhy' Pinyan
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

Re: Boolean Expression - Regular Expression

2002-01-19 Thread Jonathan E. Paton
> 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