extract Pattern to a constant field