zurb/foundation — pull request #3378 by PatapSmile (2013-10-07 16:31:25+00:00)
Title: [abide] pattern attribute should have priority over type pattern

Pattern directly specified by pattern attribute (pattern="integer") should have priority over pattern specified by type (ex. type="password").

Attached pull request changes the priority and pattern attribute has higher priority then type pattern.

Example usage:

On a sign-up page we require password to conform the password pattern (1 capital letter, 1 number etc.):

```

Passwords must be at least 8 characters with
1 capital letter, 1 number, and one special character.

```

On a login page we should accept any password, and override password pattern (because password requirements could change):

```

Please enter your password

```