diff options
| author | Carson Fleming <cflems@cflems.net> | 2017-10-25 15:12:10 -0400 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2017-10-25 15:12:10 -0400 |
| commit | 6b447ac4c6f38232fc7b88413d94abdd6ea5cccc (patch) | |
| tree | a65baab55f89d9647a3766abfe1ce1ee2e75bc3e | |
| parent | 77f75ebddafdea0675443fb48b77f47d30e87c85 (diff) | |
| download | bulletin-6b447ac4c6f38232fc7b88413d94abdd6ea5cccc.tar.gz | |
Allow abbreviations in address formatting
| -rw-r--r-- | dash/dash_functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
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}$/', |
