文件名称:glob-intersection:找到两个球形图案的交集
文件大小:14KB
文件格式:ZIP
更新时间:2024-05-18 18:15:31
CoffeeScript
球状相交 找到两个球形图案的交集 intersect = require ( "glob-intersection" ) intersect ( "**/*.{js,coffee}" , "/hello/world/*.??" ) # => "/hello/world/*.js" intersect ( "hello" , "world" ) # => false intersect ( "{a,b,c,x,d}" , "{x,y,z,c,w}" ) # => "{c,x}" intersect ( "*a*b*" , "*x*y*" ) # => "*{a*{b*x*y,x*{b*y,y*b}},x*{a*{b*y,y*b},y*a*b}}*" # braces ( _ ) => '["*a*b*x*y*","*x*a*b*y*","*a*x*b*y*","*x*y*a*b*","*x*
【文件预览】:
glob-intersection-master
----.gitignore(72B)
----package.json(820B)
----jasmine.coffee(313B)
----index.js(21KB)
----spec()
--------support()
--------intersect.spec.coffee(6KB)
----README.md(1KB)
----index.coffee(15KB)