local sub = <span class="searchmatch">string</span>.sub --[==[ Returns {true} if the <span class="searchmatch">string</span> {str} ends with the <span class="searchmatch">string</span> {val}, or {false} if not. The optional indices {i} and {j} can be...
checker == 'equals' and value == str or checker == '<span class="searchmatch">endswith</span>' and mw.ustring.match(str, value .. "$") ~= nil or checker ==...
local <span class="searchmatch">string</span>_<span class="searchmatch">endswith</span>_module = "Module:<span class="searchmatch">string</span>/<span class="searchmatch">endswith</span>" local <span class="searchmatch">string</span>_gline_module = "Module:<span class="searchmatch">string</span>/gline" local <span class="searchmatch">string</span>_insert_module = "Module:<span class="searchmatch">string</span>/insert"...
checker == 'equals' and value == str or checker == '<span class="searchmatch">endswith</span>' and mw.ustring.match(str, value .. "$") ~= nil or checker ==...
if _.<span class="searchmatch">endswith</span>(z.stem, '[гкх]') then z.stem_type = 'velar' elseif _.<span class="searchmatch">endswith</span>(z.stem, '[жчшщ]') then z.stem_type = 'sibilant' elseif _.<span class="searchmatch">endswith</span>(z.stem...
export.<span class="searchmatch">endswith</span>(main, subs) return <span class="searchmatch">string</span>.sub(main, #main-#subs+1, #main) == subs end function export.startswith(main, subs) return <span class="searchmatch">string</span>.sub(main...
export.<span class="searchmatch">endswith</span>(main, subs) return <span class="searchmatch">string</span>.sub(main, #main-#subs+1, #main) == subs end function export.startswith(main, subs) return <span class="searchmatch">string</span>.sub(main...