rolled back, unnecessary
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 31 Jul 2006 18:10:49 +0000 (18:10 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 31 Jul 2006 18:10:49 +0000 (18:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5189 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/ue_config.js

index f23e8b2..cf63122 100644 (file)
@@ -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 */