News for hackers. Stuff that matters.
Re:The quadratic problem nobody fixed by MoonZ on Monday March 23, 2026 @04:42PM (#47494824)
> In fact lookbehinds require a fixed-length pattern

Just a small note: some regex engines support "variable length lookbehind", check the last column on this wikipedia article : https://en.wikipedia.org/wiki/Comparison_of_regular_expressi...

Re:The quadratic problem nobody fixed by zahlman on Monday March 23, 2026 @05:39PM (#47495468)
Good to know. Although a lookbehind for `\d+` doesn't really gain anything over a lookbehind for `\d` anyway; they match in the same circumstances, just with different results.