Gulp path wildcard for second part of a folder name? -


with gulp can see wildcards in path 'src/**/*'.

how can set wildcard second part of folder name?

if have these folders:

src/match-1 src/match-2 src/dont-match 

how can match first two? tried doesnt match anything:

'src/match-**/*'

check @you's comment answer. here's why works:

in **/* doesn't mean "wildcard!" it's saying

in directory or subdirectory (**) match file name (*)

(more strictly speaking, "in directory or non-symlinked subdirectory, add on number or characters")

that's why want src/match-* - * suspect thought **/* did.

to familiarize globbing, read through @isaacs' glob primer , write tests globtester


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -