mirror of
https://github.com/lua/lua.git
synced 2026-07-06 14:11:25 +00:00
Avoid creating extra strings when possible: - avoid creating new resulting string when subject was not modified (instead, return the subject itself); - avoid creating strings representing the captured substrings when handling replacements like '%1' (instead, add the substring directly to the buffer).
13 KiB
13 KiB