Content deleted Content added
→Protected edit request on 3 September 2024: clarify that the 2nd return value is propagated |
|||
Line 150:
(I am also removing the capture group, which is unneeded as we can use the "%0" whole capture)
('''edit:''' I am also taking the opportunity, for extra robustness, to add parentheses in order to discard the 2nd value (number of replacements) returned by these gsub() functions, then subsequently by _escapePattern(). The more I encounter this "multiple values returned" Lua feature, the more I think it was a terrible design idea)
Second change: line 409, we can similarly replace:
|