javascript - what does these expression mean ? `${server Path}/**/!(*.spec|*.integration).js` -


`${server path}/**/!(*.spec|*.integration).js`, 

may ask above code, ** , * , | , * stand ? can search read ?

that looks glob syntax me:

https://www.npmjs.com/package/glob

https://en.wikipedia.org/wiki/glob_(programming)

* matches apart slashes, match file won't match subfolders.

** matches including slashes, subfolders can searched.

| or.

! means not.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -