Test, validate and match regular expressions
This regular expression matches `if` statements containing a single equals sign (`=`) instead of a comparison operator (`==`, `!=`, `<=`, `>=`). It uses negative lookbehind and lookahead assertions to ensure it only captures assignment operators within conditional checks, such as `if (InvertX=1)`. It is highly useful for code linters and debugging tools to detect accidental assignments in `if` statements.