Fix 1.8.7 warning: "regexp has invalid interval"

Apparently `{` needs to be escaped in Ruby 1.8