I use my shortcut "g
text" all the time to search for
text in Google:
Regexp: ^g (.*)
Result: Google: $$1 |http://www.google.dk/search?q=$$1 /ICON=icons\google.ico
Well, now I wanted to search for "C# idioms", inspired by another thread here on DonationCoder. But no, that did not work: I got a search for C only, without any idioms - check
http://www.google.dk/search?q=c#%20idioms. Apparently the q argument of the Google search is delimited by the # character.
Would there be any possibility to be able to URL encode the search string? Like a
$$$1 instead of $$1 or something like that, or maybe a little more clever like
$${urlencode($$1)} to allow for other functions in the future?
Like:
Google: $$1 |http://www.google.dk/search?q=
$$$1 /ICON=icons\google.ico
or
Google: $$1 |http://www.google.dk/search?q=
$${urlencode($$1)} /ICON=icons\google.ico