class CommunitySetMatchExprEvaluator implements CommunitySetMatchExprVisitor<Boolean, CommunitySet> {

  @Override
  public @Nonnull Boolean visitCommunitySetMatchRegex(
      CommunitySetMatchRegex communitySetMatchRegex, CommunitySet arg) {
    return PatternProvider.fromString(communitySetMatchRegex.getRegex())
        .matcher(
            communitySetMatchRegex
                .getCommunitySetRendering()
                .accept(CommunitySetToRegexInputString.instance(), arg))
        .find();
  }

  public  CommunitySetMatchExprEvaluator(CommunityContext ctx);

}