Once you’ve done the above, delete everything above this line.
Steps to reproduce
open Functions - Obsidian Help
goto Functions / replace
read this:
- Example:
""a:b:c:d".replace(/:/, "-") returns "a-b,c,d", where as "a:b:c:d".replace(/:/g, "-") returns "a-b-c-d".
Did you follow the troubleshooting guide? [Y/N]
not needed
Expected result
- Example:
"a:b:c:d".replace(/:/, "-") returns "a-b:c:d", where as "a:b:c:d".replace(/:/g, "-") returns "a-b-c-d".
Actual result
- Example:
""a:b:c:d".replace(/:/, "-") returns "a-b,c,d", where as "a:b:c:d".replace(/:/g, "-") returns "a-b-c-d".
Environment
./.
Additional information
Pch
2
This has been reported on GitHub already 
And there’s a open pull request fixing it…
Pch
4
Well, the pull request fixing the example hasn’t been merged yet
…
So yes, at the moment, the erroneous example is still there 
That is true
What are we waiting for. Should I review?
Pch
6
I don’t think that’s necessary
.
The Obsidian’s team will probably take care of it at some point
.
Yes. I am not allowed to do. 