Given the following test set, I want the 1st and 4th line to match:
/src/main.ts
/node_modules/vue-runtime-helpers
/node_modules/.pnpm/vue-runtime-helpers@1.1.2/node_modules/vue-runtime-helpers/dist/normalize-component.mjs
/node_modules/.pnpm/tslib@2.0.3/node_modules/tslib/tslib.es6.js
Usually a regex like this would suffice: /node_modules\/(?!vue-runtime-helpers)/
, but this still matches the 3rd line.
What regex do I need to exclude lines 1-3?