Before, the expression only matched IF statements with $VAR or .var or !VAR in them to do some replacements of those, so had I not changed the right side, the call-back would not have been made for ELSE IF unless it had one of these in them. I'll revert this change and make a separate replacement line to turn ELSE IF into ELSEIF to make it more clear I guess.