Skip to content

Commit 3a265b1

Browse files
committed
hypothesis annotation bugfix
1 parent 3860c29 commit 3a265b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/workers/base/src/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def run(self):
187187
self.logger.error(e)
188188

189189
pattern_doi = re.compile(r"\.v(\d)+$")
190-
pattern_annotations = re.compile(r'([A-Za-z]+:[\w ]+);?')
190+
pattern_annotations = re.compile(r"([A-Za-z]+:[\w'\- ]+);?")
191191

192192
def find_version_in_doi(doi):
193193
m = pattern_doi.findall(doi)

0 commit comments

Comments
 (0)