From 5acc49221c0cb387928e0265a54fa7691e49be7f Mon Sep 17 00:00:00 2001 From: Jay Chia Date: Fri, 22 Sep 2023 16:22:26 -0700 Subject: [PATCH] Attribution of regex to stackoverflow --- src/daft-io/src/http.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/daft-io/src/http.rs b/src/daft-io/src/http.rs index 3bf83a8444..e9540fae89 100644 --- a/src/daft-io/src/http.rs +++ b/src/daft-io/src/http.rs @@ -14,6 +14,7 @@ use crate::object_io::{FileMetadata, FileType, LSResult}; use super::object_io::{GetResult, ObjectSource}; lazy_static! { + // Taken from: https://stackoverflow.com/a/15926317/3821154 static ref HTML_A_TAG_HREF_RE: Regex = Regex::new(r#"<(a|A)\s+(?:[^>]*?\s+)?(href|HREF)=["'](?P[^"']+)"#).unwrap(); }