View Single Post
Old 04-02-2015, 10:10 AM   #10
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,453
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Tanjamuse View Post
What's the difference between "Has" and "Has Pattern"?
"Has" requires that the value in the column (or a sub-value if the column is tags-like) equal the value in the rule. It is equivalent to the search operator "=", e.g., tags:=something.

"Has Pattern" requires that the value in the column match the regular expression in the rule. Depending on the regexp the match can be total or partial. For example, the pattern "ha" will match the value "thank". The pattern "^ha" will match "happens" but will not match "thank". It is equivalent to the search operator "~", e.g., tags:~pat.

The calibre manual section The Search Interface might help differentiate between the two.
chaley is offline   Reply With Quote