75
rated 0 times
[
79]
[
4]
/ answers: 1 / hits: 5983
/ 10 Years ago, tue, may 13, 2014, 12:00:00
This should be easy. I have this path variable declared in a gulpfile.js
:
paths = {
img: [
'src/patternlab/**/**/*.jpg',
'src/patternlab/**/**/*.png'
]
};
I'd like to use a simple OR switch for the file extension, along the lines of:
'src/patternlab/**/**/*.(jpg|png)'
But I can't find the right syntax! Have tried numerous permutations, looked through MDN etc…
More From » regex