From 6b447ac4c6f38232fc7b88413d94abdd6ea5cccc Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Wed, 25 Oct 2017 15:12:10 -0400 Subject: Allow abbreviations in address formatting --- dash/dash_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dash/dash_functions.php') diff --git a/dash/dash_functions.php b/dash/dash_functions.php index 2779bb9..88884c7 100644 --- a/dash/dash_functions.php +++ b/dash/dash_functions.php @@ -39,7 +39,7 @@ function address_join ($addr) { } function validate_address ($addr) { $patterns = array( - '/^\d+\s(\w+\s)+\w+$/', + '/^\d+\s(\w+\s)+\w+\.?$/', '/^.*$/', '/^.+$/', '/^[A-Z]{2}$/', -- cgit v1.2.3