[open-ils-commits] r502 - conifer/trunk/xul/server/patron (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jun 1 11:19:33 EDT 2009
Author: dbs
Date: 2009-06-01 11:19:31 -0400 (Mon, 01 Jun 2009)
New Revision: 502
Modified:
conifer/trunk/xul/server/patron/ue_config.js
Log:
Relax the regex for names even further and allow punctuation (Zaed'yi etc)
Modified: conifer/trunk/xul/server/patron/ue_config.js
===================================================================
--- conifer/trunk/xul/server/patron/ue_config.js 2009-06-01 05:55:17 UTC (rev 501)
+++ conifer/trunk/xul/server/patron/ue_config.js 2009-06-01 15:19:31 UTC (rev 502)
@@ -27,7 +27,7 @@
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\@-]*$/;
More information about the open-ils-commits
mailing list