title: Invalid escape character syntax error - Ruby
body: <p>Trying to open this chain of URL's using the firefox executable.</p>
  
  <p>And receiving error message (in cmd prompt with Ruby) that I have an invalid escape character syntax error.</p>
  
  <p>I'm not sure where the error is in my system call.</p>
  
  <pre><code>search_criteria = ["makers", "makerspaces", "fablabs", "smartlabs"]
  names = ["new+york+city", "new+york", "nyc"]
  
  query_strings = names.map do |name|
      "#{name}+#{search_criteria.join('+')}"
  end
  
  urls = query_strings.map do |q|
      "google.com/search?q=" + q
  end
  
  cmd_line = urls.join(' ')
  
  system("C:\Program Files (x86)\Mozilla Firefox\firefox.exe --url #{cmd_line}")
  </code></pre>