Why are people using regexp for email and other complex validation?

后端 未结 12 1353
感情败类
感情败类 2020-12-16 16:01

There are a number of email regexp questions popping up here, and I\'m honestly baffled why people are using these insanely obtuse matching expressions rather than a very si

12条回答
  •  猫巷女王i
    2020-12-16 17:03

    Regexs that catch most (but not all) common error are relatively easy to setup and deploy. Takes longer to write a custom parser.

提交回复
热议问题