Allow escaping single quote in IIPs

Also, match all characters until there is an unescaped single quote in IIPs