From 49d3d22769472b310d523cc6cd46d4ed130a0c32 Mon Sep 17 00:00:00 2001 From: Brandon Lockhart Date: Wed, 24 Feb 2021 12:06:09 -0800 Subject: [PATCH] fix(clean): lat_long regex not match a date format --- dataprep/clean/clean_lat_long.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataprep/clean/clean_lat_long.py b/dataprep/clean/clean_lat_long.py index 1313d68fc..bc781c637 100644 --- a/dataprep/clean/clean_lat_long.py +++ b/dataprep/clean/clean_lat_long.py @@ -15,7 +15,7 @@ LAT_LONG_PATTERN = re.compile( r""" - .*?[(]? + [^/]*?[(]? (?P[NS])?[ ]* (?P-?%(FLOAT)s)(?:[%(DEGREE)sD\*\u00B0\s][ ]* (?:(?P%(FLOAT)s)[%(PRIME)s'm]?[ ]*)?