the detection should work even if we have an empty escape parameter