Build, test, and debug regular expressions
This regex matches any line that contains a colon (:) not immediately followed by 'jar'. It's particularly useful for filtering Java package declarations or imports while excluding references to JAR files. The negative lookahead assertion ensures that 'jar' doesn't appear right after the colon, making it valuable for distinguishing between Java package names and JAR file references.