Anki add-on: Word search and wildcard field name (2.1)

This is a quick and dirty 2.1 port of Teemu Pudas' Word search and wildcard field name add-on . I was surprised to see that it hadn't been updated since 2014, and since I use it heavily myself, I thought I'd jump in. Teemu, if you're reading this, and would like to keep maintaining the 2.1 version: Please let me know and I'll be happy to take this down / file a pull request. Important : I only tested this add-on briefly, so buyers beware. Original description Wildcard field: *:expression, just like somefield:expression. *:test - Matches a field containing nothing but "test" *:t*cup - Matches "teacup", "the cupboard", etc. *:*test - Matches a field ending in "test", e.g. "protest" *:test* - Matches a field starting with "test", e.g. "testing", "test subject" Word search: ; marks a word boundary. If searching a field, ; at the start or end of the expression is short for *; or ;* respectively. ;test; - Matches "test subject" ;test - Matches "beta tester" test; - Matches "protest" *:;test - Matches a field ending in the word "test", e.g. "beta test" but not "protest" or "I failed the test." Copyright (c) 2019 Glutanimate (but I really did nothing other than migrating it to the new add-on file structure and running a few quick tests) (c) 2014 Teemu Pudas (c) 2014 Damien Elmes