I\'m using the validate plugin from http://bassistance.de/jquery-plugins/jquery-plugin-validation/
What i\'m trying to find is a way to make some of my form fields a
A small change.
jQuery.validator.addMethod("accept", function(value, element, param) { return value.match(new RegExp("^" + param + "$")); });
Because that way it was accepting expressions like "#abc".