ng-pattern not accepting new-line character

前端 未结 0 1731
悲哀的现实
悲哀的现实 2021-01-07 15:41

I m using ng-pattern inside a textarea element. Inside my controller I have pattern defined like this:

vm.pattern = new RegExp(\'^(?         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题