rem: regex=/^[a-zA-Z]\w{3,14}$/; 
add: regex=/^\S[\S ]{2,98}\S$/; 
context: 	constructor: function()	{		var self = this;		this.valid		= true;		this.vContinue	= true;		this.handlers	= Object();		// Default regexes		this.handlers['date']		= { enabled : true,									exec : function (value) {										regex=/(((0[13578]|10|12)([-.\/])(0[1-9]|[12][0-9]|3[01])([-.\/])(\d{4}))|((0[469]|11)([-.\/])([0][1-9]|[12][0-9]|30)([-.\/])(\d{4}))|((2)([-.\/])(0[1-9]|1[0-9]|2[0-8])([-.\/])(\d{4}))|((2)(\.|-|\/)(29)([-.\/])([02468][048]00))|((2)([-.\/])(29)([-.\/])([13579][26]00))|((2)([-.\/])(29)([-.\/])([0-9][0-9][0][48]))|((2)([-.\/])(29)([-.\/])([0-9][0-9][2468][048]))|((2)([-.\/])(29)([-.\/])([0-9][0-9][13579][26])))/;										return regex.test(value);									}								  }		this.handlers['phone']		= { enabled : true,									exec : function (value) {										regex=/^(\d{3}-\d{3}-\d{4})*$/;										return regex.test(value);									}								  }		this.handlers['zipcode']	= { enabled : true,									exec : function (value) {										regex=/(^(?!0{5})(\d{5})(?!-?0{4})(-?\d{4})?$)/;										return regex.test(value);									}								  }		this.handlers['username'] = { enabled : true,									exec : function (value) {										regex=/^[a-zA-Z](([\.\-a-zA-Z0-9@])?[a-zA-Z0-9]*)*$/;										return regex.test(value);									}								  }		this.handlers['password']	= { enabled : true,									exec : function (value) {										regex=/^[a-zA-Z]\w{3,14}$/;										return regex.test(value);									}								  }		this.handlers['numeric']	= { enabled : true,									exec : function (value) {										regex=/^(\d|-)?(\d|,)*\.?\d*$/;										return regex.test(value);									}								  }		this.handlers['email']		= { enabled : true,									exec : function (value) {										regex=/^[a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+\.)+[a-zA-Z0-9.-]{2,4}$/;										return regex.test(value);									}								  }		// Attach to forms with class 'form-validate'		var forms = document.getElementsByClassName('form-validate');		for ( var i=0; i < forms.length; i++) {			if (forms[i].tagName == 'FORM') {				this.attachToForm(forms[i]);			}		}	},
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/84c2f6099f7242c95647f0295f8974d4f1b82379/validation.js/buggy/includes/js/joomla/validation.js