How to build regex with or (I) ?
fraxken opened this issue · 1 comments
fraxken commented
Hi,
A regex like *.json|*.js
will produce /^.*\.json\|.*\.js$/
. But i dont want the |
to be anti-slashed. Any idea on how i can achieve this ?
Best Regards,
Thomas
aleclarson commented
You can use glob-regex for this behavior.