Escape } in context regexes for ruby 1.8.7.
Merge pull request #57 from bshelton229/context-lock-regex

Escape } in context regexes for ruby 1.8.7.