Skip to content

Commit

Permalink
Merge pull request #69 from golnazads/master
Browse files Browse the repository at this point in the history
fixed re that recognizes bibcode
  • Loading branch information
golnazads authored Jun 1, 2021
2 parents d4ea99c + 51f1ff6 commit 59a0fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolverway/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LinkRequest(object):
user_id = None
referrer = None

re_ads_link = re.compile(r"^(/abs/[12][09]\d\d[A-Za-z&\.]{5}[A-Za-z0-9\.]{9}[A-Z]/abstract)$")
re_ads_link = re.compile(r"^(/abs/[12]\d\d\d[A-Za-z&\.]{5}[A-Za-z0-9\.]{9}[A-Z]/abstract)$")

def __init__(self, bibcode, link_type, url=None, id=None):
self.bibcode = bibcode
Expand Down

0 comments on commit 59a0fa7

Please sign in to comment.