Quote:
Originally Posted by ownedbycats
Question: Any obvious mistakes here? It's green, but not turning up results.
|
The regular expression contains spaces so it is interpreted as multiple queries. Use quotes to fix it.
Code:
tags:"~^[^\.]+$" AND NOT tags:"~(Comics|Documentation & Manuals|Fanfiction|Fiction|Magazines & Periodicals|Nonfiction)"
It is a good idea to always quote the query part of an expression. (fieldname:"query")