Escape sequence detection improvements and enabling CI