topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 15, 2024, 12:55 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [bug report ?] concerning result filter  (Read 4322 times)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
[bug report ?] concerning result filter
« on: June 18, 2008, 04:48 AM »
i have the following alias :

regex (thanks Nod5 if i remember well) :
^g ((?:[^-]|-(?!-))*)(?:\s*--\s*(.*))?()

result filter ;
$$2

results (just a small part) :
$$c | http://www.google.com/search?q=$$c&btnG=Search /ICON=icons\google.ico
Google France 100 htmlview | htmlviewurl http://www.google.co.../search?hl=fr&q=$$c&btnG=Search&num=100 /ICON=icons\google.ico
Past Month | http://www.google.com/search?q=$$c&btnG=Search&as_qdr=m /ICON=icons\google.ico
Lucky | http://www.google.co.../search?hl=en&q=$$c&btnI=I’m+Feeling+Lucky /ICON=icons\google.ico
Google France | http://www.google.co.../search?hl=fr&q=$$c&btnG=Search /ICON=icons\google.ico
Google anglais | http://www.google.co.../search?hl=en&q=$$c&btnG=Search /ICON=icons\google.ico
Google News | http://news.google.fr/news?q=$$c&hl=fr&um=1&sa=X&oi=news_result&resnum=1&ct=title /ICON=icons\google.ico
Google 100 | http://www.google.co...&oe=UTF-8&q=$$c&btnG=Search&num=100 /ICON=icons\google.ico
Google France 100 | http://www.google.co.../search?hl=fr&q=$$c&btnG=Search&num=100 /ICON=icons\google.ico
Google Image gim | http://images.google.com/images?as_q=$$c&hl=en&output=images&svnum=100&btnG=Google+Search&imgsz=xxlarge&safe=off&as_st=y
Google Maps | http://maps.google.c...&geocode=&q=$$c&z=16&iwloc=addr
Translate en fr | restartsearch gt en fr "$$c"

so to do in google image search i just type :
g keyword1 keyword2 --gim
or
g keyword1 keyword2 --imag
...

i noticed that whatever the filtering i always have the last one :
Translate en fr | restartsearch gt en fr "$$c"

i guess it has to do with restartsearch

it would be nice to fix that since if you mistype something, then you launch that result ...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [bug report ?] concerning result filter
« Reply #1 on: June 18, 2008, 08:38 AM »
seems like a bug to me. i'll try to reproduce and figure out what's happening.