Comments (1)
Right, this is for strictly returning true if a pattern is an extglobs.
It's not uncommon for the term "extglob" to be used loosely in conversation or references to mean "extended globbing" as a catchall phrase which means "all expansion features in bash, posix and ksh". But that isn't this. This library does what it says all over the readme and unit tests: check for actual "extglobs", not POSIX character classes, regex character classes, globstars, stars, ranges, or any other feature that isn't an extglob.
There are probably additional special cases of character classes that need attention, such as those involving [!, [^, [], [-
Just to put closure to this... again, we're in good shape since - as mentioned - this library doesn't do that. See https://github.com/jonschlinkert/expand-brackets. However, equivalence classes are not supported and POSIX.2 collating symbols are not supported since IMHO it makes no sense to support them in node. I can't see people doing that in globs, but I'm open to feedback.
from is-extglob.
Related Issues (2)
- Failing tests HOT 3
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 is-extglob.