When you search for something that doesn't return any results, the Suggestions on the No Results page are not working as they should.

For example, the following search returns no results:

csv [saveas] [powerbuilder]

The suggestions I get for my search are:


Two issue here:

Firstly, I think the suggestions should remove the first word, remove the second word, ... remove the nth word and so on. In this instance, the second last and last suggestions are the same.

Secondly, the URLs for the suggestions don't remove the stuck-out word if it's a tag. The last suggestion's URL should be


since the [powerbuilder] tag is removed in the displayed font.

  • Refresh the search suggestions page, see what you get. – random Oct 26 '09 at 1:31
  • I get 3 results, with 1 duplicate, in a random order. In any case where the tag is displayed as being removed, the URL still includes the tag. – glasnt Oct 26 '09 at 2:22

The first one is by design for the moment; it picks strikeouts at random.

As for the second part, this is now fixed, but.. well, did you ever feel like you just walked through a sewer?

(?<=([\b ]|^))\[saveas](?=([\b ]|$))

The problem had to do with the definition of "word boundary" \b when applied to strings like [saveas]

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .