<commit_before>cask "mmex" do
  version "1.5.1,2021.04.24"
  sha256 "36dda3d0177dddc71fd3ed29fc43a64783f2e2d2637dc473ebfc2f89d4351a1d"

  url "https://downloads.sourceforge.net/moneymanagerex/mmex%20v#{version.before_comma}-macOS.#{version.after_comma}.dmg",
      verified: "downloads.sourceforge.net/moneymanagerex/"
  name "Money Manager Ex"
  desc "Money management application"
  homepage "https://www.moneymanagerex.org/"

  livecheck do
    url "https://sourceforge.net/projects/moneymanagerex/rss"
    strategy :page_match do |page|
      match = page.match(%r{/mmex\s*v?(\d+(?:\.\d+)*)[._-]macOS[._-](\d+(?:\.\d+)*)\.dmg}i)
      "#{match[1]},#{match[2]}"
    end
  end

  app "MMEX.app"

  zap trash: [
    "~/Library/Application Support/MoneyManagerEx",
    "~/Library/Caches/com.yourcompany.MMEX",
    "~/Library/Preferences/com.yourcompany.MMEX.plist",
  ]
end<commit_msg>Fixed mmex cask, updated url scheme and version (#109084)<commit_after>cask "mmex" do
  version "1.5.4,2021-07-18"
  sha256 "66af898086ce6a89dfc03961ffadfa8309c8f3563600216362523a4c04a6a047"

  url "https://downloads.sourceforge.net/moneymanagerex/mmex-#{version.before_comma}-Darwin-#{version.after_comma}.dmg",
      verified: "downloads.sourceforge.net/moneymanagerex/"
  name "Money Manager Ex"
  desc "Money management application"
  homepage "https://www.moneymanagerex.org/"

  livecheck do
    url "https://sourceforge.net/projects/moneymanagerex/rss"
    strategy :page_match do |page|
      match = page.match(%r{/mmex[._-](\d+(?:\.\d+)*)[._-]Darwin[._-](\d+(?:-\d+)*)\.dmg}i)
      "#{match[1]},#{match[2]}"
    end
  end

  app "MMEX.app"

  zap trash: [
    "~/Library/Application Support/MoneyManagerEx",
    "~/Library/Caches/com.yourcompany.MMEX",
    "~/Library/Preferences/com.yourcompany.MMEX.plist",
  ]
end
{'fraction_non_alphanumeric': 0.17770419426048564, 'fraction_numerical': 0.06622516556291391, 'mean_word_length': 4.036111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '450138', 'n_tokens_mistral': 822, 'n_tokens_neox': 728, 'n_words': 93}