Build, test, and debug regular expressions
This regex matches line endings in JavaScript code that are missing semicolons. It uses a negative lookbehind to exclude lines already ending with semicolons, braces, or comments (both single-line // and multi-line */). Useful for code formatters, linters, or automated semicolon insertion tools.