M
M
marrrr2019-09-02 01:56:07
JavaScript
marrrr, 2019-09-02 01:56:07

How to insert an exception in a JavaScript regular expression?

I'm trying to set up the imagemin plugin for webpack. Can you please tell me how to insert an exception into this regular expression that selects file extensions
/\.(jpe?g|png|gif|svg)$/i
: file 'circle.svg' ?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question