DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Exclude specific file names from results using regex  (Read 5,264 times)

tunayx

  • Participant
  • Joined in 2007
  • *
  • Posts: 14
Hi, I want to exclude specific file names from results using regex like: "* help*";"*agreement*";"*license*" to get rid of most of the url & chm shortcuts as lnk. In short how to disable file names using regex.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Exclude specific file names from results using regex
« Reply #1 on: July 01, 2012, 02:40 PM »
Go to the options, and find the "Pattern Scoring" tab.
You'll notice that there are already patterns for some of the things you are mentioning.

If you score a pattern as -9999 it will not show up at all; a score of something like -200 will leave it still showing, but low down on the list.

tunayx

  • Participant
  • Joined in 2007
  • *
  • Posts: 14
Re: Exclude specific file names from results using regex
« Reply #2 on: July 01, 2012, 03:11 PM »
Thanks!  :Thmbsup:

Original address: https://www.donationcoder.com/forum/index.php?topic=31473.0