You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
As a power user I expect to be able to specify complex patterns for matching file/directories in Atom.
Steps to Reproduce
I tried foo/**/bar/** and foo/.*/bar/.* and I realised that none of them work.
Expected behavior:
Be able to respect the java style globing pattern which allows the first example. Have it documented in the sample text so user will learn how to use without having to read the documentation.
Actual behavior:
Anything after ** is ignored so more files are found than expected.
I do not have a strong preference upon the syntax being supported, which ever is easier to implement but the default example text should contain an example that explains it.
The text was updated successfully, but these errors were encountered:
Had the same question. This might be of some help:
minimatch('basedir/projectcore/test/script.js','basedir/project+(core|)/**/*.js');// trueminimatch('basedir/projectcore/test/script.js','**/project+(core|)/**/*.js');// trueminimatch('basedir/projectcore/test/script.js','**/project*/**/*.js');// trueminimatch('basedir/project/test/script.js','basedir/project+(core|)/**/*.js');// true// globstar not allowed in combination with stringminimatch('basedir/projectcore/test/script.js','**/project*/**.js');// falseminimatch('basedir/projectcore/test/script.js','**/projectcore/**.js');// false
Seems it won't be fixed, unless someone comes up with a good PR. It looks like yarn has moved to micromatch for this specific reason: yarnpkg/yarn#3339 - although what other issues that might introduce I have no clue about.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Prerequisites
Description
As a power user I expect to be able to specify complex patterns for matching file/directories in Atom.
Steps to Reproduce
I tried
foo/**/bar/**
andfoo/.*/bar/.*
and I realised that none of them work.Expected behavior:
Be able to respect the java style globing pattern which allows the first example. Have it documented in the sample text so user will learn how to use without having to read the documentation.
Actual behavior:
Anything after ** is ignored so more files are found than expected.
Reproduces how often:
Always
Versions
Additional Information
I do not have a strong preference upon the syntax being supported, which ever is easier to implement but the default example text should contain an example that explains it.
The text was updated successfully, but these errors were encountered: