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

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -