<commit_before>class Ocproxy < Formula
  desc "User-level SOCKS and port forwarding proxy"
  homepage "https://github.com/cernekee/ocproxy"
  url "https://github.com/cernekee/ocproxy/archive/v1.60.tar.gz"
  sha256 "a7367647f07df33869e2f79da66b6f104f6495ae806b12a8b8d9ca82fb7899ac"
  license "BSD-3-Clause"
  revision 1
  head "https://github.com/cernekee/ocproxy.git"

  livecheck do
    url :stable
    regex(/^v?(\d+(?:\.\d{1,3})+)$/i)
  end

  bottle do
    sha256 cellar: :any, arm64_big_sur: "d598c7b18b39b70d0bff1cc24b044a7351f8161ada44ef860649bc658323734a"
    sha256 cellar: :any, big_sur:       "c215e90cdcbcd59674c111bd2bbdf157ad554247c65025560c6688677d25be53"
    sha256 cellar: :any, catalina:      "53016c9f83444b015e71e2f1678b1aab1e7914f42a8c5d8de1ab581fca130ef8"
    sha256 cellar: :any, mojave:        "786f0c42a3d282b78d8dc2fa18c36e46707451f4ac848e9af7dd82ab31b40f6d"
    sha256 cellar: :any, high_sierra:   "0cd70ac67ebd419b869ad4dd70c6cd1217248c8e7b7a57d3a7c8e15c7d2f7dfc"
    sha256 cellar: :any, sierra:        "8e33eae007c082ec9b6787210096a4e20992151a7b2c5f345941f68c478ae0e2"
  end

  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libevent"

  def install
    system "./autogen.sh"
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    assert_match /VPNFD.is.not.set/, shell_output("#{bin}/ocproxy 2>&1", 1)
  end
end
<commit_msg>ocproxy: remove ambiguous regexp literals<commit_after>class Ocproxy < Formula
  desc "User-level SOCKS and port forwarding proxy"
  homepage "https://github.com/cernekee/ocproxy"
  url "https://github.com/cernekee/ocproxy/archive/v1.60.tar.gz"
  sha256 "a7367647f07df33869e2f79da66b6f104f6495ae806b12a8b8d9ca82fb7899ac"
  license "BSD-3-Clause"
  revision 1
  head "https://github.com/cernekee/ocproxy.git"

  livecheck do
    url :stable
    regex(/^v?(\d+(?:\.\d{1,3})+)$/i)
  end

  bottle do
    sha256 cellar: :any, arm64_big_sur: "d598c7b18b39b70d0bff1cc24b044a7351f8161ada44ef860649bc658323734a"
    sha256 cellar: :any, big_sur:       "c215e90cdcbcd59674c111bd2bbdf157ad554247c65025560c6688677d25be53"
    sha256 cellar: :any, catalina:      "53016c9f83444b015e71e2f1678b1aab1e7914f42a8c5d8de1ab581fca130ef8"
    sha256 cellar: :any, mojave:        "786f0c42a3d282b78d8dc2fa18c36e46707451f4ac848e9af7dd82ab31b40f6d"
    sha256 cellar: :any, high_sierra:   "0cd70ac67ebd419b869ad4dd70c6cd1217248c8e7b7a57d3a7c8e15c7d2f7dfc"
    sha256 cellar: :any, sierra:        "8e33eae007c082ec9b6787210096a4e20992151a7b2c5f345941f68c478ae0e2"
  end

  depends_on "autoconf" => :build
  depends_on "automake" => :build
  depends_on "libevent"

  def install
    system "./autogen.sh"
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    assert_match(/VPNFD.is.not.set/, shell_output("#{bin}/ocproxy 2>&1", 1))
  end
end

{'fraction_non_alphanumeric': 0.10965323336457357, 'fraction_numerical': 0.19806310527960014, 'mean_word_length': 3.6405797101449275, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2802263', 'n_tokens_mistral': 1684, 'n_tokens_neox': 1360, 'n_words': 187}