Fix format constraint parser