From: erickson Date: Mon, 31 Jul 2006 18:10:49 +0000 (+0000) Subject: rolled back, unnecessary X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=31a01f3a1cba0d995ef7fb4a8dfedfa169f1f71b;p=Evergreen.git rolled back, unnecessary git-svn-id: svn://svn.open-ils.org/ILS/trunk@5189 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/ue_config.js b/Open-ILS/xul/staff_client/server/patron/ue_config.js index f23e8b23fc..cf6312234d 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue_config.js +++ b/Open-ILS/xul/staff_client/server/patron/ue_config.js @@ -35,7 +35,7 @@ const wordRegex = /^\w+$/; const ssnRegex = /^\d{3}-\d{2}-\d{4}$/; const dlRegex = /^[a-zA-Z]{2}-\w+/; /* driver's license */ const phoneRegex = /\d{3}-\d{3}-\d{4}/; -const nonumRegex = /^[a-zA-Z](\D|\.)*$/; /* no numbers, no beginning whitespace */ +const nonumRegex = /^[a-zA-Z]\D*$/; /* no numbers, no beginning whitespace */ const dateRegex = /^\d{4}-\d{2}-\d{2}/; const zipRegex = /^\d{5}(-\d{4}|$)/; /* 12345 or 12345-6789 */