underscore.string icon indicating copy to clipboard operation
underscore.string copied to clipboard

ReplaceAll - Bug when replacing with same value

Open Fizzleban opened this issue 11 years ago • 3 comments

If I do the following:

var a= _s.replaceAll("1234.00", ",", ",")

Variable a will be "......." instead of "1234.00".

Fizzleban avatar Jul 16 '15 18:07 Fizzleban

Hmm... did just try it. It works for me. Could you add a jsfiddle with a case where this doesn't work?

stoeffel avatar Jul 16 '15 21:07 stoeffel

:bell: did you try it again? which version are you using?

stoeffel avatar Jul 18 '15 16:07 stoeffel

I guess this is resolved know.

stoeffel avatar Jul 21 '15 04:07 stoeffel