News for hackers. Stuff that matters.
Re:Adding lookbehinds to rust-lang/regex by shilangyu on Tuesday July 15, 2025 @05:25PM (#44575978)
As others have pointed out, the regex engine is the same so the benefits would trickle downstream. For example, VSCode also uses ripgrep and therefore the rust-lang/regex engine.
Re:Adding lookbehinds to rust-lang/regex by burntsushi on Tuesday July 15, 2025 @05:33PM (#44576030)
ripgrep plugged this gap a long time ago by providing PCRE2 support.
Re:Adding lookbehinds to rust-lang/regex by shilangyu on Wednesday July 16, 2025 @01:24AM (#44578953)
PCRE2 supports only bounded length lookbehinds. It is true, it is not a big improvement to have unbounded ones in rust-lang/regex, but it still feels like something.
Re:Adding lookbehinds to rust-lang/regex by burntsushi on Wednesday July 16, 2025 @12:46PM (#44584354)
Pretty minor IMO. And PCRE2 supports lots of other stuff beside look-behinds.