Demonstration query

alt text

The parameter does a straight replace if you type in a value so the query still runs, but it does force you to enter something before it will run.

Note: I deliberately did not tag this with [comments].

  • This answer shows waffles has had some trouble confirming where comments start and end.
    – Mark Hurd
    Commented Jun 26, 2010 at 6:09
  • Does anybody have js regexes to strip comments?
    – waffles
    Commented Jun 26, 2010 at 12:57
  • @waffles: I turned up this with a quick search, maybe you can adapt it: stackoverflow.com/questions/2228185/… (that does the block-style comments, but the -- line comments should be easier to parse).
    – Jon Seigel
    Commented Jun 26, 2010 at 15:43
  • @waffles I assume you would have found this answer give it was listed as related to Jon's pointer. I would assume that if you included a string match in this regex first, that would skip the quoted comment starts.
    – Mark Hurd
    Commented Jun 27, 2010 at 1:24

1 Answer 1


Barring the need to revert the code that handles this, this should no longer happen. Parameters listed in both single and multi-line comments will be ignored by the query parser, and you won't be hassled by an input box.

You must log in to answer this question.

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