🍺 BREW Explorer

← all formulae

oniguruma

brew install oniguruma v6.9.10 BSD-2-Clause

C shared library for regular expressions with multi-encoding support (ASCII, UTF-8, EUC, Shift_JIS, ISO-8859, etc.).

Why you might care

Oniguruma provides advanced regex features across diverse character encodings, making it essential for applications handling Japanese, CJK, and legacy text. It's a build dependency for tools like Ruby (default regex engine) and other interpreters that need robust, encoding-aware pattern matching. Use it if you need POSIX or Oniguruma syntax with character-set flexibility beyond standard libc regex.

Categories

Alternatives

PCRE Boost.Regex libc regex
61.2k
30-day installs · #100
188.1k
90-day · #108
641.0k
365-day · #106
2.5k
★ GitHub stars · updated 1y ago

Build dependencies

GitHub topics

c regexp regular-expression

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "PCRE",
    "Boost.Regex",
    "libc regex"
  ],
  "build_dependencies": [
    "autoconf",
    "automake",
    "libtool"
  ],
  "categories": [
    "library",
    "parser",
    "regex"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Regular expressions library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:39+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "oniguruma",
  "github_default_branch": "master",
  "github_last_commit_at": "2025-04-24T12:42:35Z",
  "github_readme_excerpt": "Oniguruma\n=========\n## **This project ended on April 24, 2025.**\n\n## **The only open source software attacked on Google search in Japan.** [(Issue #234)](https://github.com/kkos/oniguruma/issues/234)\n\n\nhttps://github.com/kkos/oniguruma\n\nOniguruma is a modern and flexible regular expressions library. It\nencompasses features from different regular expression implementations\nthat traditionally exist in different languages.\n\nCharacter encoding can be specified per regular expression object.\n\nSupported character encodings:\n\n  ASCII, UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, UTF-32LE,\n  EUC-JP, EUC-TW, EUC-KR, EUC-CN,\n  Shift_JIS, Big5, GB18030, KOI8-R, CP1251,\n  ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5,\n  ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10,\n  ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16\n\n* GB18030: contributed by KUBO Takehiro\n* CP1251:  contributed by Byte\n* doc/SYNTAX.md: contributed by seanofw\n* doc/onig_syn_md.c: tonco-miyazawa\n\n\nNotice (from 6.9.6)\n-------------------\nWhen using configure script, if you have the POSIX API enabled in an earlier version (disabled by default in 6.9.5) and you need application binary compatibility with the POSIX API, specify \"--enable-binary-compatible-posix-api=yes\" instead of \"--enable-posix-api=yes\". Starting in 6.9.6, \"--enable-posix-api=yes\" only supports source-level compatibility for 6.9.5 and earlier about POSIX API. (Issue #210)\n\n\nMaster branch\n-------------\n* Unicode property \\pC, \\pL, \\pM, \\pN, \\pP, \\pS, \\pZ\n\n\nVersion 6.9.10\n--------------\n* Update Unicode version 16.0\n* Add new operator (*SKIP)    (PR#299)\n* Fixed: ONIG_SYN_CONTEXT_INDEP_REPEAT_OPS not working for ^* pattern (Issue #292)\n\n\nVersion 6.9.9\n-------------\n* Update Unicode version 15.1.0\n* NEW API: ONIG_OPTION_MATCH_WHOLE_STRING\n* Fixed: (?I) option was not enabled for character classes (Issue #264).\n* Changed specification to check for incorrect POSIX bracket (Issue #253).\n* Changed [[:punct:]] in Unicode e",
  "github_repo": "kkos/oniguruma",
  "github_stars": 2524,
  "github_topics": [
    "c",
    "regexp",
    "regular-expression"
  ],
  "homepage": "https://github.com/kkos/oniguruma/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 61190,
  "installs_365d": 641018,
  "installs_90d": 188130,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-2-Clause",
  "llm_generated_at": "2026-06-20T23:42:42+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "oniguruma",
  "oldnames": [],
  "one_liner": "C shared library for regular expressions with multi-encoding support (ASCII, UTF-8, EUC, Shift_JIS, ISO-8859, etc.).",
  "optional_dependencies": [],
  "rank_30d": 100,
  "rank_365d": 106,
  "rank_90d": 108,
  "raw_hash": "7216a249112ce516",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/o/oniguruma.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "6.9.10",
  "versioned_formulae": [],
  "why_use_this": "Oniguruma provides advanced regex features across diverse character encodings, making it essential for applications handling Japanese, CJK, and legacy text. It\u0027s a build dependency for tools like Ruby (default regex engine) and other interpreters that need robust, encoding-aware pattern matching. Use it if you need POSIX or Oniguruma syntax with character-set flexibility beyond standard libc regex."
}