Skip to content

[new product] Adds Oniguruma#9860

Merged
marcwrobel merged 2 commits intomasterfrom
oniguruma
Apr 9, 2026
Merged

[new product] Adds Oniguruma#9860
marcwrobel merged 2 commits intomasterfrom
oniguruma

Conversation

@captn3m0
Copy link
Copy Markdown
Member

@captn3m0 captn3m0 commented Apr 9, 2026

Found out about Oniguruma today, and think it deserves a page as it was very widely used.

Has its own wikipedia page: https://en.wikipedia.org/wiki/Oniguruma

Not trying to add 4.x or older, they were pre-2006.

@captn3m0 captn3m0 self-assigned this Apr 9, 2026
@captn3m0 captn3m0 added the new-product This PR adds a new product to the website. label Apr 9, 2026
@captn3m0
Copy link
Copy Markdown
Member Author

captn3m0 commented Apr 9, 2026

Tracking some important projects and how they're dealing with it (Mistakes mine)

Project Links Notes
bat issue #3285 Issue open (May 2025) to drop the regex-onig build feature entirely. Currently ships oniguruma as default; fancy-regex is an opt-in feature flag. No action taken yet.
bfs repo Depends on oniguruma directly (C library) for -iregex pattern matching. No issue filed; still listed as a required dep in Arch/Gentoo packages as of late 2025.
ghostty discussion #7375 Active discussion (May 2025) . No decision, but open to PCRE2
jq issue #3313 PCRE2 PR Migration issue open (May 2025), no alternative chosen but PCRE2 PR open and likely alternative
php php-src #18467 · RFC Used by multibyte (mb) extension. RFC proposes deprecating all mb_ereg* / mb_regex_* / mb_split functions in PHP 8.6 and removing them in PHP 9.0
uutils-coreutils issue #1145 Oniguruma used in expr for GNU regex syntax (backreferences, etc.). Replacement issue dates to 2018 and was closed; no current tracking issue for the 2025 archival. Still a hard package dependency (Arch, Fedora).

Ruby uses its own fork for quite some time. A lot of other packages depend via https://github.com/trishume/syntect/ ( Rust library for syntax highlighting using Sublime Text syntax definitions. ). It still uses oniguruma but supports a oniguruma-free build-mode that uses fancy-regex instead, starting from 4.0: https://github.com/trishume/syntect/#pure-rust-fancy-regex-mode-without-onig

Comment thread products/oniguruma.md
Comment thread products/oniguruma.md
Comment thread products/oniguruma.md
Comment thread products/oniguruma.md Outdated
Co-authored-by: Marc Wrobel <marc.wrobel@gmail.com>
@marcwrobel marcwrobel enabled auto-merge (squash) April 9, 2026 20:27
@marcwrobel marcwrobel merged commit 11bf32b into master Apr 9, 2026
6 checks passed
@marcwrobel marcwrobel deleted the oniguruma branch April 9, 2026 20:28
@captn3m0
Copy link
Copy Markdown
Member Author

captn3m0 commented Apr 9, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-product This PR adds a new product to the website.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants