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

If I search for posts using almost any of the advanced super ninja search options, they don't seem to get rendered properly (title and body are the only ones that don't seem to cause a problem)

For example, searching for "When are temporaries created as part of a function call destroyed" gives:

Screenshot of the ok query

Adding "user:309308" turns it into:

Screenshot of the problematic query

share|improve this question
    
Also, why is it inserting ellipses into words? –  Shog9 Feb 8 '11 at 15:44
    
@Shog9 It's trying to show all the parts of the body that matched my search query, so it shows fragments with parts of my query highlighted, and doesn't care if those fragments end mid-word –  Michael Mrozek Feb 8 '11 at 15:46
    
right, but... It's not actually removing anything between some of the fragments. In your example, the start of the first fragment is actually the start of the question, with the next split happening in the middle of the word "stay" (with nothing actually removed between fragments). The same thing happens twice more (virtual...ly, c...ould) in the first example, and thrice more in the second (p...rintf, retu...rn, and char**...argv). Probably unrelated to your bug, but your thing makes it more obvious. –  Shog9 Feb 8 '11 at 15:54
    
@Shog9 Oh, I didn't notice that; nice –  Michael Mrozek Feb 8 '11 at 15:57

1 Answer 1

up vote 2 down vote accepted

Indeed there was a regex issue with searches having only options and no other terms that wasn't being stripped down in some cases. This has been fixed for the next build, it'll go out tonight.

share|improve this answer

You must log in to answer this question.

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