fork(1) download
  1. require 'shellwords'
  2. s = "Seán"
  3. puts s.gsub(/([^\p{L}0-9_.,:\/@\n-])/, "\\\\\\1")
Success #stdin #stdout 0.06s 9784KB
stdin
Standard input is empty
stdout
Seán