Commit graph

2 commits

Author SHA1 Message Date
aplefull
e0dd182964 LibJS: Use stored input for RegExp legacy static property views
The m_last_match, m_left_context, and m_right_context views were being
created from a temporary string instead of from the owned m_input.
This caused the views to point to destroyed stack memory when accessing
RegExp.lastMatch after calling String.replace() with a regex.
2025-12-03 13:45:26 +01:00
Timothy Flynn
93712b24bf Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Renamed from Userland/Libraries/LibJS/Tests/builtins/RegExp/RegExp.legacy.js (Browse further)