Quote:
Originally Posted by Tanjamuse
When I use contains, it also update books with tags not on the list.
Example:
I have Vikings on my list but it also marks the books with just Kings.
I didn't expect to only match the order of letters but rather the whole word or the complete string.
|
Tanjamuse:
I used your csv file that has the "Favorit" value in the Parent-Fandom csv column header.
I matched the rows in Parent-Fandom to a tag-like #Custom Column.
The test conditions and the results:
----------------------------------------------------
CSV has these values in the Parent-Fandom column:
----------------------------------------------------
Favorit
----------------------------------------------------
Calibre has 9 different books, each with one of the following #cc tag-like values:
----------------------------------------------------
Favor
Favorit
Favorite
Favorites
Por Favor
Favor, Favorit
Favor, Favorites
Favor, Por Favor
Favor, Favorit, Favorite, Favorites, Por Favor
RESULTS:
----------------------------------------------------
If Book Match Expression: 'Equals' without Case-Sensitive Matching Selected
"equals": #cc value equals csv match value
----------------------------------------------------
Favorit
----------------------------------------------------
If Book Match Expression: 'Contains' without Case-Sensitive Matching Selected
"contains": csv match value contains #cc value
----------------------------------------------------
Favor
Favorit
----------------------------------------------------
If Book Match Expression: 'Is Contained In' without Case-Sensitive Matching Selected
"is contained in": #cc value contains csv match value
----------------------------------------------------
Favorit
Favorite
Favorites
Favor, Favorit
Favor, Favorites
Favor, Favorit, Favorite, Favorites, Por Favor
See the ToolTips that explain what each match expression means.
Please try using 'Is Contained In' instead of 'Contains'.
Added:
I am going to create a special option to match the csv value as a unique tag-like tag in the match #cc. That should give total flexibility for tag-like matching. It will do nothing for non-tag type #cc matching.
DaltonST