More unusual wildcard

Sharing and discussing custom search templates for LaunchBar
Post Reply
carnz
Posts: 2
Joined: Sun Jun 21, 2009 11:56 am

More unusual wildcard

Post by carnz » Sat Jun 27, 2009 5:13 pm

Hi,

I think it would be better to use something more unusual than * for the search string wildcard.
I wanted to add koders.com to my search and I saw that they already use * in their search:
http://koders.com/default.aspx?s=SEARCH ... &la=*&li=*

norbert
Objective Development
Objective Development
Posts: 648
Joined: Thu Nov 09, 2006 6:30 pm

Re: More unusual wildcard

Post by norbert » Tue Jun 30, 2009 10:54 am

  1. You can use %s instead. It takes precedence over the asterisk, so if your tempate contains both, the %s placeholder will be used.
  2. Only the first asterisk is replaced with the search string. Since the order of the arguments is irrelevant, you can always put the placeholder argument at the beginning.
  3. In this particular case the la and li arguments seem to be optional (the asterisk appears to be the default value), so you can simply omit them and use http://koders.com/default.aspx?s=* for the search template.

Post Reply