Create UDFs that categorise queries:
- queries with logical operators (AND, OR, NOT, -, !) a-e) each one independently
- queries with quotes
a) queries consisting of a single "
b) queries with an odd number of double quotes
c) queries with an even number of double quotes
- queries with wildcards (* or ?) a) queries consisting of single * b) queries consisting of single ? c) queries with final ?
- queries with a tilde
a) queries consisting of single ~
b) queries with a word-final tilde (fuzzy search)
c) queries with a query-initial tilde (results!)
- queries with insource:
a) queries with insource: and something that looks like a regex /.../
- queries with prefix:
- queries with intitle:
- queries with incategory:
- queries that do not contain any of the letters A to Z, and are not all numbers punctuation, and spaces—so, having numbers if okay, if there are some other "interesting" characters, too. This is a rough attempt at getting non-ASCII writing systems. If you want to do something more clever, that's very cool.
- queries with quot as a separate word
- queries with {searchTerms}
- queries with {@}