class CommunitySetMatchRegex extends CommunitySetMatchExpr {

  @Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (!(obj instanceof CommunitySetMatchRegex)) {
      return false;
    }
    CommunitySetMatchRegex rhs = (CommunitySetMatchRegex) obj;
    return _communitySetRendering.equals(rhs._communitySetRendering) && _regex.equals(rhs._regex);
  }

  public  CommunitySetMatchRegex(CommunitySetRendering communitySetRendering, String regex);

}