1. 首页
  2. 数据库
  3. 其它
  4. hashtag regex:一个正则表达式用于根据Unicode标准匹配hashtag标识符 源码

hashtag regex:一个正则表达式用于根据Unicode标准匹配hashtag标识符 源码

上传者: 2021-02-06 11:57:35上传 ZIP文件 6.15KB 热度 21次
标签正则表达式 hashtag-regex提供了一个正则表达式来匹配hashtag标识符。 该存储库包含一个脚本,该脚本基于Unicode数据生成此正则表达式。 因此,只要Unicode标准发生更改,就可以轻松更新正则表达式。 安装 通过 : npm install hashtag-regex 在: const hashtagRegex = require ( 'hashtag-regex' ) ; // Note: because the regular expression has the global flag set, this module // exports a fun
下载地址
用户评论