So I am trying to setup a config to trigger on all files in a folder except the once starting with abc
, abc
included.
Folder structure: .folder/subfolder/
The regex I have: ^.folder/subfolder/(?!abc.*).*$
I have tried my regex in regex101 where it works sucessful with my testcases (see below). However in RegExr it does not work, nor does it work where I try to apply it.
Testcases:
.folder/subfolder/test
.folder/subfolder/a
.folder/subfolder/ab
.folder/subfolder/abc
.folder/subfolder/abc1
.folder/subfolder/abca
.folder/subfolder/test2
All but the following should not match:
.folder/subfolder/abc
.folder/subfolder/abc1
.folder/subfolder/abca
1