Moving away from re to indexed string