Pauan / tab-organizer

Google Chrome Extension that makes it easier to manage many tabs!
MIT License
67 stars 8 forks source link

Better quotation mark support in the search box. #13

Closed Pauan closed 9 years ago

Pauan commented 9 years ago

Originally reported on Google Code with ID 13

The search box works very well, for the most common use cases. One area that it is lacking
is with quotation marks.

Unfortunately, this will probably require a large overhaul of the search system, and
may cause performance problems. We won't know until we try.

Here are some examples of use cases we should support:

"foo bar"
- Searches for tabs that have a URL or title that is "foo bar". Under normal circumstances,
you cannot include spaces, because they are used for AND boolean logic.

"fOobAR"
- Quotation marks should be case-sensitive. Right now, we ignore case with searches.
The above would not match "foobar" or "FooBar".

window:"foo"
- Searches for a window whose title is exactly "foo". Right now, we use a subset search,
meaning that we could match "foo" or "foobar" or "foobarquxcorge". The above should
match ONLY "foo", and nothing else.

"foo OR bar"
- Any sort of special syntax should be ignored within quotes.

"window:"
- Any search queries should also be ignored within quotes.

Reported by pcxunlimited on 2010-09-03 18:06:00

Pauan commented 9 years ago

Reported by pcxunlimited on 2010-09-03 19:01:14

Pauan commented 9 years ago

Reported by pcxunlimited on 2010-09-08 23:30:30

Pauan commented 9 years ago
This was fixed not too long ago. Quotes are still case-insensitive, but users can use
regexp syntax to make case-sensitive queries. Not only is the new system just as fast
in the usual cases, but it's actually significantly faster in the case of `has:macro`.

Reported by pcxunlimited on 2011-01-13 04:23:28

Pauan commented 9 years ago

Reported by pcxunlimited on 2012-08-27 23:44:47