Repository: pymedusa/Medusa

Issue:
1. Ignore words/filter - does not except "." ? 2. Show page is not showing global defined filters/"words" 
After upgrading from 0.30 to 0.34 - 
1. Seems like my previous ignore words that had "." in them now the "." is interpreted as wild card :( See log below.

**To Reproduce**
1. define 2.0 as ignore
2. search names that has 2**x**0 (210 in my example below)
3. see log with wrong ignore... 

**Expected behavior**
Filter word should be used as is, no semi- regex interpretation, or add comment to use "" if needed, and explain the special symbols.

**Medusa (please complete the following information):**


Medusa Configuration
Medusa Info: 	Branch: master
Commit: 74c3f124fb599ad923e23f46fc320778b8b4217c
Version: 0.3.4
Database: 44.14
Python Version:	2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]
SSL Version:	OpenSSL 1.0.2j 26 Sep 2016
OS:	Windows-10-10.0.17763
Locale:	en_US.cp1255
 	 
 	 
User:	RAFI-PC$
Program Folder:	D:\Program Files\Medusa\Medusa
Config File:	D:\Program Files\Medusa\Data\config.ini
Database File:	D:\Program Files\Medusa\Data\main.db
Cache Folder:	D:\Program Files\Medusa\Data\cache
Log Folder:	D:\Program Files\Medusa\Data\Logs
Arguments:	
--nolaunch --port=8081 --datadir=D:\Program Files\Medusa\Data

**Debug logs (at least 50 lines):**
```

2019-08-19 16:15:25 INFO	SEARCHQUEUE-DAILY-SEARCH :: Rarbg :: [74c3f12] Ignoring Fear.the.Walking.Dead.S05E10.210.Words.Per.Minute.1080p.AMZN.WEBRip.DDP5.1.x264-NTG[rartv] based on ignored words filter: 2.0
2019-08-19 16:15:25 INFO	SEARCHQUEUE-DAILY-SEARCH :: Rarbg :: [74c3f12] Torrent meets the file size requirements.file Name:Fear.the.Walking.Dead.S05E10.210.Words.Per.Minute.1080p.AMZN.WEBRip.DDP5.1.x264-NTG[rartv] Size:3629018180
2019-08-19 16:15:25 INFO	SEARCHQUEUE-DAILY-SEARCH :: Rarbg :: [74c3f12] Quality of Fear.the.Walking.Dead.S05E10.210.Words.Per.Minute.1080p.AMZN.WEBRip.DDP5.1.x264-NTG[rartv] is 1080p WEB-DL
2019-08-19 16:15:25 INFO	SEARCHQUEUE-DAILY-SEARCH :: Rarbg :: [74c3f12] Quality of Fear.the.Walking.Dead.S05E10.1080p.WEB.h264-TBS[rartv] is 1080p WEB-DL
2019-08-19 16:15:21 INFO	SEARCHQUEUE-DAILY-SEARCH :: Torrentz2 :: [74c3f12] Quality of The.Handmaids.Tale.S03E13.Mayday.1080p.HULU.WEBRip.AAC2.0.H264-NTb[TGx] is 1080p WEB-DL
2019-08-19 16:15:21 INFO	SEARCHQUEUE-DAILY-SEARCH :: Torrentz2 :: [74c3f12] Quality of The.Handmaids.Tale.S03E13.Mayday.1080p.HULU.WEBRip.AAC2.0.H264-NTb is 1080p WEB-DL
2019-08-19 16:15:21 INFO	SEARCHQUEUE-DAILY-SEARCH :: Torrentz2 :: [74c3f12] Quality of The.Handmaids.Tale.S03E13.Mayday.1080p.HULU.WEB-DL.AAC2.0.H.264-NTb.chs.eng.mp4 is 1080p WEB-DL
2019-08-19 16:15:21 INFO	SEARCHQUEUE-DAILY-SEARCH :: Torrentz2 :: [74c3f12] Quality of The.Handmaids.Tale.S03E13.1080p.WEB.x264-worldmkv.mkv is 1080p WEB-DL
2019-08-19 16:15:21 INFO	SEARCHQUEUE-DAILY-SEARCH :: Torrentz2 :: [74c3f12] Quality of The.Handmaids.Tale.S03E13.Mayday.1080p.HULU.WEBRip.AAC2.0.H264-NTb[rarbg] is 1080p WEB-DL
2019-08-19 16:15:21 INFO	SEARCHQUEUE-DAILY-SEARCH :: Torrentz2 :: [74c3f12] Quality of The.Handmaids.Tale.S03E13.Mayday.1080p.HULU.WEBRip.AAC2.0.H264-NTb[TGx] is 1080p WEB-DL
2019-08-19 16:15:21 INFO	SEARCHQUEUE-DAILY-SEARCH :: Torrentz2 :: [74c3f12] Ignoring Fear.the.Walking.Dead.S05E10.210.Words.Per.Minute.1080p.AMZN.WEBRip.DDP5.1.x264-NTG[rarbg] based on ignored words filter: 2.0
2019-08-19 16:15:21 INFO	SEARCHQUEUE-DAILY-SEARCH :: Torrentz2 :: [74c3f12] Torrent meets the file size requirements.file Name:Fear.the.Walking.Dead.S05E10.210.Words.Per.Minute.1080p.AMZN.WEBRip.DDP5.1.x264-NTG[rarbg] Size:3629121536
2019-08-19 16:15:21 INFO	SEARCHQUEUE-DAILY-SEARCH :: Torrentz2 :: [74c3f12] Quality of Fear.the.Walking.Dead.S05E10.210.Words.Per.Minute.1080p.AMZN.WEBRip.DDP5.1.x264-NTG[rarbg] is 1080p WEB-DL



```
</details>

**Additional context**

2. Show's page is now not showing any global filters/words :(


Discussion:
PS: there might be  semi-related issue mentioned  in #6315 ...

Resolving patch:
diff --git a/medusa/show/naming.py b/medusa/show/naming.py
--- a/medusa/show/naming.py
+++ b/medusa/show/naming.py
@@ -77,7 +77,7 @@ def contains_at_least_one_word(name, words):
 
     if isinstance(words, string_types):
         words = words.split(',')
-    items = [(re.compile(r'(^|[\W_])%s($|[\W_])' % word.strip(), re.I), word.strip()) for word in words]
+    items = [(re.compile(r'(^|[\W_])%s($|[\W_])' % re.escape(word.strip()), re.I), word.strip()) for word in words]
     for regexp, word in items:
         if regexp.search(name):
             # subs_words = '.dub.' or '.dksub.' or else


Test patch: