Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

ng-pattern does not support modifiers #1437

Closed
SmithSamuelM opened this issue Oct 3, 2012 · 1 comment
Closed

ng-pattern does not support modifiers #1437

SmithSamuelM opened this issue Oct 3, 2012 · 1 comment

Comments

@SmithSamuelM
Copy link

Angular 1.02
A regex expression with modifiers is not recognized in ng-pattern
/rexex/modifiers

The following is not recognized as a pattern

Remove the modifier "i" and it is recognized

@sonarxavier
Copy link

Just to thanks austingreco (and the angularjs team) to have fixed this in angular 1.1.5 as I run into this problem today with v 1.1.4.
Cheers 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants