ng-pattern with ignore case flag

575 views
Skip to first unread message

Roei Wagner

unread,
Mar 28, 2013, 9:40:53 AM3/28/13
to ang...@googlegroups.com
I need to user the ignore case flag in ng-pattern

I tried to do that:  /pattern/i

but it didn't worked.

how can I add regex flags to ng-pattern ? 

Gant Laborde

unread,
Dec 24, 2013, 11:37:53 AM12/24/13
to ang...@googlegroups.com
I'm was having the same issue.

Seems this was fixed in angular 1.1.5 https://github.com/angular/angular.js/issues/1437

 [A-Za-z] works for previous versions.
Reply all
Reply to author
Forward
0 new messages