this.delegationFactory = delegationFactory;
this.locale = locale;
}
public PropertyDelegate resolve(Field field, StringBuilder stringBuilder) {
PropertyDelegate propertyDelegate = makePropertyDelegate(field);
stringBuilder.append("(");
stringBuilder.append(uncaptureGroups(makePattern(field, propertyDelegate)));
stringBuilder.append(")");
if (isOptional(field)) {
stringBuilder.append("?");