updated callback regex