fixes #2100 - fix regexp overflow on MRI 1.8 with older safemode/ruby_parser

Could you please test the bundler install, just to make sure we don't hit version issues again like last time?  bundle updates/installs work ok here on 1.8 and 1.9.