escape char | in comparison string