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: [bug report ?] concerning result filter  (Read 5,232 times)

nitrix-ud

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

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

result filter ;
Quote
$$2

results (just a small part) :
Quote
$$c | http://www.google.com/search?q=$$c&btnG=Search /ICON=icons\google.ico
Google France 100 htmlview | htmlviewurl http://www.google.com/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.com/search?hl=en&q=$$c&btnI=I’m+Feeling+Lucky /ICON=icons\google.ico
Google France | http://www.google.com/search?hl=fr&q=$$c&btnG=Search /ICON=icons\google.ico
Google anglais | http://www.google.com/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.com/search?ie=UTF-8&oe=UTF-8&q=$$c&btnG=Search&num=100 /ICON=icons\google.ico
Google France 100 | http://www.google.com/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.com/maps?f=q&hl=fr&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,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [bug report ?] concerning result filter
« Reply #1 on: June 18, 2008, 01:38 PM »
seems like a bug to me. i'll try to reproduce and figure out what's happening.

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