Comments (13)
Just dont want to match folder names, this is the idea. Only files from it.
maiden/code/a.txt
maiden/code/b.txt
maiden/code/c.txt
maiden/code/d.txt
but not maiden/code
from micromatch.
it's a bug. also, for reference (and reminder to me) this is what bash returns for your pattern:
maiden/**/*. maiden/*.
from micromatch.
Cool, okey, I'll wait then :)
I just workin on glob stream idea.
from micromatch.
examples updated
from micromatch.
should be good. let me know if you have any more problems.
from micromatch.
Awesome, works! Very fast response.
from micromatch.
@jonschlinkert hmmm, strange
why this not works? Is related to this fix?
var expected = true;
var options = {};
var pattern = 'maiden/**/*.*'; //also 'maiden/{**/*.*,*.*}'
var match = mm.isMatch('maiden/code/abc.js', pattern, options);
console.log(match);
//=> false
from micromatch.
yeah I see exactly why that's happening. I'll get it fixed. sorry
from micromatch.
done. looks like I broke the last one you posted in a recent optimization.
from micromatch.
Yeyy! Good job.
from micromatch.
all working for you now?
from micromatch.
Yep.
from micromatch.
👍
from micromatch.
Related Issues (20)
- Can't match string with leading dot HOT 3
- extglob Denial of service HOT 4
- Non-filepaths matchs HOT 3
- SyntaxError: Invalid or unexpected token when running from Jest HOT 1
- 'Or' functionality broken (using |)
- Proper docs for windows option??
- Add a way to generate a glob from a file name HOT 1
- Basename breaks matching complex pattern HOT 2
- Will micromatch gradually phase out CJS support instead of abruptly (cf multimatch)? HOT 2
- Documentation incomplete for `scan`
- Alternatives in extglobs not matching correctly? HOT 5
- micromatch('.prettierrc.json', '**/*.json') => false HOT 3
- Image for sponsorships
- [BUG] Vulnerabilities Found in Micromatch and Braces HOT 2
- `micromatch.not` returns nothing if empty pattern list provided
- [BUG] Vulnerabilities Found in Micromatch and Braces HOT 38
- gitIgnore and negation patterns - not following gitIgnore specs HOT 5
- Question: Globstar and trailing slashes
- Inefficient Regular Expression Complexity vulnerability with High severity found HOT 5
- Negation style ignores dot option?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micromatch.