Ruby:The provided regular expression is using multiline anchors (^ or $), which may present a securi
Ruby从3.0到4.0validates正则表达式check_options_validity':Theprovidedregularexpressionisusingmultilineanchors(^or$)rails4中validates不支持^和$,替换成\A和\z-ACCOUNT_EMAIL_FORMAT=/^\s*#{FORMAT}\s*$/
+ACCOUNT_EMAIL_FORMA