mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
Return JS::Substring objects from the builtin regexp exec and split paths instead of eagerly copying UTF-16 slices into new strings. Matches, captures, and split pieces can now point back at the original input until someone asks for the string contents. Add focused runtime coverage for UTF-16 captures and regex split captures so these lazy slices stay exercised.