To satisfy Ruby 1.8.7, use look-ahead instead of look-behind