Clientside jQuery validation not throwing error if element has #pattern (RegExp).