py/gadict_c5.py
changeset 757 5417f2102dc5
parent 727 453837f63094
child 796 cf1f6e851933
--- a/py/gadict_c5.py	Tue Feb 21 10:03:54 2017 +0200
+++ b/py/gadict_c5.py	Tue Feb 21 10:10:03 2017 +0200
@@ -4,7 +4,7 @@
 import io
 import sys
 import codecs
-import regex
+import re
 
 import gadict
 import gadict_freq
@@ -16,9 +16,9 @@
 FREQ_SOURCES = []
 
 # -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_FREQ_RE = re.compile("-freq:(freq|var):([^=]+)=(.+)")
 
 look_for_files = False
 for idx in range(1, len(sys.argv)):