From 36d86896443c8589504fae355b723539a9e81ba4 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 31 Jul 2006 18:09:38 +0000 Subject: [PATCH] changed middle name regex git-svn-id: svn://svn.open-ils.org/ILS/trunk@5188 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/patron/ue_config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 cf6312234d..f23e8b23fc 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 */ -- 2.11.0