use older version of regex engine only for ruby files