https://bugzilla.wikimedia.org/show_bug.cgi?id=42073

--- Comment #8 from kipod <[email protected]> 2012-11-14 22:00:56 UTC ---
my little snippet does not take isRegex into account.
it should really be:



$textarea.val($textarea.val().replace(regex,
function(matchStr) { return isRegex ? matchedStr.replace( regex, replaceStr ) :
replaceStr; } ));


peace.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to