Re:Adding lookbehinds to rust-lang/regex
by burntsushi on Tuesday July 15, 2025 @05:08PM
(#44575840)
We (I am on libs-api in addition to authoring the regex crate) specifically eschewed a batteries included standard library. The fact that `regex` was its own thing was the best thing that ever happened to it. It let me iterate on its API independent of the standard library.
Re:Adding lookbehinds to rust-lang/regex
by librasteve on Wednesday July 16, 2025 @03:48AM
(#44579735)
fair enough - there are pros and cons, but in many situations that _can_ lead to balkanisation of the language
Raku has specifically chosen the "kitchen sink" option with a massive amount of cool stuff included ... I would argue that have both regex and Grammars tightly in the core language syntax is a big win in that case (and the default choice of Str as graphemes)
with Rust and Raku that's mitigated by crate and zef respectively - both reliable, unified package manager ecosystems
not having different options is the point of (batteries included) standard libraries ;-)