"Pattern" method added to match the value for regexp.

Now you can validate value by matching the regexp.
 For example 
<input type="password" name="password" id="password" value="" class="required" data-rule-minlength="6" data-rule-pattern="/^(?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/ig" data-msg-pattern="Seak pass!" label="Password">