Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: PerlMonks Search Regex

by belg4mit (Prior)
on Jun 09, 2002 at 01:06 UTC ( [id://172859]=note: print w/replies, xml ) Need Help??


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")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://172859]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-23 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found