@Override
  public boolean validate(@NotNull MatchContext context, int matchedOccurs) {
    if (target) return matchedOccurs > 0;
    if (minOccurs > matchedOccurs) return false;
    if (maxOccurs < matchedOccurs) return false;
    return true;
  }
@Override
  public boolean validate(@NotNull MatchContext context, int matchedOccurs)