Fix issue with 1.8 String#sub backref.