'regex' module isn't easy to install on Cygwin. Stick to standard 're' module.
--- a/py/gadict_srs_anki.py Sat Jul 08 00:00:05 2017 +0300
+++ b/py/gadict_srs_anki.py Sat Jul 08 01:09:40 2017 +0300
@@ -7,7 +7,7 @@
import tempfile
import shutil
import signal
-import regex
+import re
import hashlib
@@ -26,12 +26,12 @@
FREQ_SOURCES = []
RICH_MODE = False
-ARG_NAME_RE = regex.compile("-name=(.+)")
+ARG_NAME_RE = re.compile("-name=(.+)")
# -lang:ru,uk
-ARG_LANG_RE = regex.compile("-lang:(.+)")
+ARG_LANG_RE = re.compile("-lang:(.+)")
# -freq:var:TAG=FILE or -freq:freq:TAG=FILE
-ARG_FREQ_RE = regex.compile("-freq:(freq|var):([^=]+)=(.+)")
-ARG_DELFILE_RE = regex.compile("-delfile=(.+)")
+ARG_FREQ_RE = re.compile("-freq:(freq|var):([^=]+)=(.+)")
+ARG_DELFILE_RE = re.compile("-delfile=(.+)")
look_for_files = False
for idx in range(1, len(sys.argv)):