Browser crashes due to Regular expression in Angular JS

后端 未结 0 1235
一整个雨季
一整个雨季 2021-02-09 05:11

I observe that the browser crashes after entering a text which is validated by this regular expression: /^(?=.{1,254}$)[a-zA-Z0-9](?:(?:[-.]?[a-zA-Z0-9]){0,62}

)+$/

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