jzaefferer/jquery-validation — Issue #223: pattern method expects RegEx, should also accept string
Author: jzaefferer
Created: 2011-10-08 11:25:00+00:00
State: open

If the param is a string, put it through new RegExp, otherwise use it as-is.