Relax the regex for names even further and allow punctuation (Zaed'yi etc)
authordbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 1 Jun 2009 15:19:31 +0000 (15:19 +0000)
committerdbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 1 Jun 2009 15:19:31 +0000 (15:19 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@502 6d9bc8c9-1ec2-4278-b937-99fde70a366f

xul/server/patron/ue_config.js

index 936f4a4..210e353 100644 (file)
@@ -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\@-]*$/;