fork download
  1. puts 'b a b'.gsub(/\b(?<!\$)a\b/, "B")
  2. puts 'b $a b'.gsub(/\b(?<!\$)a\b/, "B")
Success #stdin #stdout 0.05s 9656KB
stdin
Standard input is empty
stdout
b B b
b $a b