Skip to content
Snippets Groups Projects
Commit 6071864f authored by Remco Tukker's avatar Remco Tukker
Browse files

Merge branch 'develop' into feature/COMP-274_traffic_volume_page

parents baa43872 2bf023cf
No related branches found
No related tags found
1 merge request!74Feature/comp 274 traffic volume page
......@@ -6,8 +6,10 @@ from sqlalchemy import select
from compendium_v2.db import db, model
URL_PATTERN = re.compile(
(r'\b(https?://[^\s<>";,(){}\[\]!\\]+|www\.[^\s<>";,(){}\[\]!'
r'\\]+|[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4})\b(?=\s|\b|[,!?.;:\\])')
(r'\b(https?://[^\s<>";,(){}\[\]!\\]+'
r'|www\.[^\s<>";,(){}\[\]!\\]+'
r'|[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4})'
r'\b(?=\s|\b|[,!?.;:\\])')
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment