I have the following regex (JS.match) pattern /@import ['"](.*)['"]/g
allowing for the external files inclusion so e.g.
@import "/my/path"
returns /my/path
all works as expected but I would like to enable commenting out with //
and /* */
so if string contains //@import "/my/path"
or /* @import "/my/path" */
then there should be NO match.
any ideas?