fix(ngPattern): allow modifiers on inline ng-pattern

Add support for regex modifiers on inline `ng-pattern`.
`ng-pattern="/regex/i"` now validates correctly.

Closes #1437