class Prism::Translation::Parser::Lexer
def percent_array_unescape(string)
In a percent array, certain whitespace can be preceeded with a backslash,
def percent_array_unescape(string) string.gsub(/(\\)+[ \f\n\r\t\v]/) do |full_match| full_match.delete_prefix!("\\") if Regexp.last_match[1].length.odd? full_match end end