mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 02:19:04 +00:00
string.gsub returns 2 values, the new string and the number of replacements made. It also has a 4th argument, the number of replacements to make. So when you use the return value of gsub as the 3rd argument, and no replacements were made, it instructs the next call to not make any replacements. Thanks to Ron Bowes for reporting this issue.
46 KiB
46 KiB