diff --git a/cranscrape.py b/cranscrape.py index ca6e4411..0ea88b8f 100644 --- a/cranscrape.py +++ b/cranscrape.py @@ -4,7 +4,7 @@ import pandas as pd reu = re.compile(r'https://github.com/([\w-]+/[\w-]+)') -red = re.compile(r'\d\d\d\d-\d\d-\d\d') +red = re.compile(r'\d{4}-\d{2}-\d{2}') url = 'https://cran.r-project.org/web/packages/xts/index.html'