class CommunityMatchRegex extends CommunityMatchExpr {

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

  public  CommunityMatchRegex(CommunityRendering communityRendering, String regex);

}