in reply to PerlMonks Search Regex

Firstly; and I could be wrong, but it's my expeirence that; the serches here ignore the second word. Well actually a search is performed for each word and the result lists are merged.

A regexp search while probakly not too hard since this site uses MySQL, which has RLIKE, could be mighty dangerous. Search is already kind of heavy on resources, and I could foresee an improperly constructed regexp running out of control.

--
perl -pew "s/\b;([mnst])/'$1/g"

Replies are listed 'Best First'.
(tye)Re: PerlMonks Search Regex
by tye (Sage) on Jun 14, 2002 at 15:06 UTC

    The "new" version of simple search uses MySQL "full text search" (in hopes of reducing DB load) which doesn't work very well IMHO. The previous version of simple search did not act as you describe. The next version won't either. See also (tye)Re: Searching and Typing.

            - tye (but my friends call me "Tye")