in reply to Re: RegEx Problem?
in thread RegEx Problem?

I think the regex should actually look like
/I.*like.*foo/
which can be constructed out of the searchstring using
$re = join '.*', map quotemeta, split ' ', $search;

Replies are listed 'Best First'.
Re: Re: Re: RegEx Problem?
by Popcorn Dave (Abbot) on Feb 25, 2003 at 16:31 UTC
    You're rght, it probably should. However I wasn't sure if the person who posted was looking for that exact string or using it as a pseudo string.

    There is no emoticon for what I'm feeling now.