Add support for ruby 1.8 with 'old' style matching.