From a3e9ee450c068a9262b0ccc19ff8d5c234b2be27 Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 1 Jun 2009 15:19:31 +0000 Subject: [PATCH] Relax the regex for names even further and allow punctuation (Zaed'yi etc) git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@502 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- xul/server/patron/ue_config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xul/server/patron/ue_config.js b/xul/server/patron/ue_config.js index 936f4a4a9f..210e353dc5 100644 --- a/xul/server/patron/ue_config.js +++ b/xul/server/patron/ue_config.js @@ -27,7 +27,7 @@ const DEFAULT_ADULT_AGE = '18 years'; var dataFields; const laxRegex = /\w+/; -const nameRegex = /^\w+[\w\s]*$/; +const nameRegex = /^\S+[\S\s]*$/; const numRegex = /^\d+$/; const wordRegex = /^[\w-]+$/; const unameRegex = /^\w[\.\w\@-]*$/; -- 2.11.0