I need a regular expression to match strings that don't end with certain terms.
Input represents a group of class names such as Foo, FooImpl, FooTest, FooTestSuiteetc.
I want to match anything that doesn't end with Test, Testsor TestSuite.
Must match:
Cannot match:
FooTestFooTestSuiteFooTests
I just can't get it right. What I have now is wrong, so I won’t even publish it.
source
share