# File lib/gherkin/formatter/escaping.rb, line 10 def escape_cell(s) s.gsub(/\|/, "\\|").gsub(/\\(?!\|)/, "\\\\\\\\") end