Inserted variable in regex doesn't work correctly

前端 未结 0 1958
孤街浪徒
孤街浪徒 2021-01-25 06:55

maybe it\'s too late for me and I am tired, but I can\'t handle a simple regex situation with variable.

var maxLength = \'12\';
var regexForValidation = new RegEx         


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