[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Regular Expression...



I apologize if this question is a newbie one, but I can't seem to find
the answer...

I have created a search engine and am trying to search for multiple
words that are next to each other in a string. For example, I would
like a search for "red blue" to match the words red and blue seperated
by one or more spaces, but not "red green blue." Right now I can only
get the latter to happen.

Any suggestions on how to write the regular expression?

Thanks,

Matt Sansbury

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch