email-regex:匹配电子邮件地址的正则表达式

时间:2024-06-01 02:57:34
【文件属性】:

文件名称:email-regex:匹配电子邮件地址的正则表达式

文件大小:5KB

文件格式:ZIP

更新时间:2024-06-01 02:57:34

JavaScript

电子邮件正则表达式 匹配电子邮件地址的正则表达式 用它来查找电子邮件地址或检查类似电子邮件的东西。 仅用于提示给​​用户。 安装 $ npm install email-regex 用法 import emailRegex from 'email-regex' ; // Contains an email address emailRegex ( ) . test ( 'unicorn sindresorhus@gmail.com' ) ; //=> true // Is an email address emailRegex ( { exact : true } ) . test ( 'sindresorhus@gmail.com' ) ; //=> true 'unicorn sindresorhus@gmail.com cake john@doe.com rainbow' . m


【文件预览】:
email-regex-main
----index.js(206B)
----test.js(2KB)
----package.json(751B)
----index.test-d.ts(187B)
----readme.md(1019B)
----.github()
--------workflows()
----license(1KB)
----index.d.ts(905B)
----.gitignore(23B)
----.npmrc(19B)
----.editorconfig(175B)
----.gitattributes(19B)

网友评论