没有合适的资源?快使用搜索试试~ 我知道了~
matcher:简单的通配符匹配
共16个文件
js:3个
ts:2个
yml:2个
需积分: 16 0 下载量 184 浏览量
2021-05-03
01:47:06
上传
评论
收藏 19KB ZIP 举报
温馨提示
匹配器 简单的匹配 当您要接受松散的字符串输入并且正则表达式/ glob太复杂时,此功能很有用。 安装 $ npm install matcher 用法 const matcher = require ( 'matcher' ) ; matcher ( [ 'foo' , 'bar' , 'moo' ] , [ '*oo' , '!foo' ] ) ; //=> ['moo'] matcher ( [ 'foo' , 'bar' , 'moo' ] , [ '!*oo' ] ) ; //=> ['bar'] matcher ( 'moo' , [ '' ] ) ; //=> [] matcher ( 'moo' , [ ] ) ; //=> [] matcher ( [ '' ] , [ '' ] ) ; //=> [''] matcher . isMatch ( 'unicorn' ,
资源推荐
资源详情
资源评论
收起资源包目录
matcher-main.zip (16个子文件)
matcher-main
index.js 2KB
test.js 9KB
package.json 850B
index.test-d.ts 474B
readme.md 3KB
.github
funding.yml 113B
workflows
main.yml 436B
security.md 179B
license 1KB
index.d.ts 3KB
bench.js 2KB
.gitignore 23B
.npmrc 19B
fixture.txt 28KB
.editorconfig 175B
.gitattributes 19B
共 16 条
- 1
资源评论
婉君喜欢DIY
- 粉丝: 13
- 资源: 4617
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功