escape more braces properly

Fixes a couple of rspec regex warnings.