in reply to Regex to find intersection of two words

deletia
there is shame.

Replies are listed 'Best First'.
Re: substring matching with regexes (boo)
by Juerd (Abbot) on Jan 25, 2002 at 23:14 UTC
    /\b.*$s.*\b/ equals /$s/ in boolean sense.

    2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$

      true enough... I made the problem something entirely different in my mind than what it actually was... mea culpa.
Re: substring matching with regexes (boo)
by andye (Curate) on Jan 25, 2002 at 23:11 UTC
    Allright there boo - the letters don't have to be in the same order, or next to each other - unless I've misunderstood the question, which is always a possibility. ;) andy.