enable % to match ruby ends