I have the following regex:
^((?!.*/gradle-wrapper\.jar$)|(.*\.jar$)|(.*\.exe$))
and the following data:
rupe-engine/src/main/groovy/com/rupe/engine/JongoAutoConfiguration.java
gradle/wrapper/gradle-wrapper.jar
gradle/wrapper/gradle-bundle.exe
gradle/wrapexe/gradle.git
testit.jar
Expected result:
Match gradle/wrapper/gradle-bundle.exe
and testit.jar
.
Actual result:
Also matching gradle/wrapper/gradle-wrapper.jar
, despite me trying to "black-list" this filename.