aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-04-15 21:35:48 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-04-17 10:56:17 -0700
commit116a26f072e8628cc4cfabb2e55c6661b6b94605 (patch)
treeb1a38a3c26eef2da3312daa72557e81694600031 /python/fatcat_tools/importers
parent2c0a6c23eb4edf2941a1c106ce556ed505e778b1 (diff)
downloadfatcat-116a26f072e8628cc4cfabb2e55c6661b6b94605.tar.gz
fatcat-116a26f072e8628cc4cfabb2e55c6661b6b94605.zip
consistently use raw string prefix for regex
Diffstat (limited to 'python/fatcat_tools/importers')
-rw-r--r--python/fatcat_tools/importers/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/common.py b/python/fatcat_tools/importers/common.py
index da611ecb..99c330a6 100644
--- a/python/fatcat_tools/importers/common.py
+++ b/python/fatcat_tools/importers/common.py
@@ -306,7 +306,7 @@ class EntityImporter:
self._issnl_id_map = dict()
self._orcid_id_map = dict()
- self._orcid_regex = re.compile("^\\d{4}-\\d{4}-\\d{4}-\\d{3}[\\dX]$")
+ self._orcid_regex = re.compile(r"^\d{4}-\d{4}-\d{4}-\d{3}[\dX]$")
self._doi_id_map = dict()
self._pmid_id_map = dict()