if match:
            # Found an operator, update nesting stack
            operator = match.group(1)
            line = match.group(2)