User:Belove/AOM Sample Rename Patterns: Difference between revisions

Jump to navigation Jump to search
→‎replacegreedy() / replacegreedyi(): fixed bug that could produce incorrect results when length(find) <> 2
(→‎replacegreedy() / replacegreedyi(): fixed bug that could produce incorrect results when length(find) <> 2)
Line 67: Line 67:
if((replacegreedy_text_len < replacegreedy_find_len) OR (replacegreedy_text_len = 0), _
if((replacegreedy_text_len < replacegreedy_find_len) OR (replacegreedy_text_len = 0), _
param1, _
param1, _
set('replacegreedy_new_text', limit(param1, 1)) + _
set('replacegreedy_new_text', limit(param1, replacegreedy_find_len - 1)) + _
for('replacegreedy_text_pos', replacegreedy_find_len, replacegreedy_text_len, _
for('replacegreedy_text_pos', replacegreedy_find_len, replacegreedy_text_len, _
set('replacegreedy_new_text', _
set('replacegreedy_new_text', _
13

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.