[jQuery] Re: [validate] - Validation by regular expression

2008-12-08 Thread skidmarek
aefferer" <[EMAIL PROTECTED]> wrote: > I'm not following your question. Could you give me an example? > > Jörn > > On Mon, Dec 8, 2008 at 5:24 PM, skidmarek <[EMAIL PROTECTED]> wrote: > > > I've changed my code to use addMethod, but I'm not

[jQuery] Re: [validate] - Validation by regular expression

2008-12-08 Thread skidmarek
sions inside their own method. If you > need lots of slightly different expressions, try to extract a common > parameter. A library of regular > expressions:http://regexlib.com/DisplayPatterns.aspx > > Jörn > > On Fri, Dec 5, 2008 at 8:01 PM, skidmarek <[EMAIL PROTECTED]> wrot

[jQuery] [validate] - Validation by regular expression

2008-12-05 Thread skidmarek
I've created a useful addition to your class that you may want to include in a future version. Set the value of the regex attribute to a regular expression. If any characters in the input don't match the regex, it returns false. Very handy. Here's the source: -