What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

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].

share|improve this question
    
This answer shows waffles has had some trouble confirming where comments start and end. –  Mark Hurd Jun 26 '10 at 6:09
    
Does anybody have js regexes to strip comments? –  waffles Jun 26 '10 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 Jun 26 '10 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 Jun 27 '10 at 1:24

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer

You must log in to answer this question.

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