2 ms·
It only needs "/". "g" finds all matches, but there is only one match in the string.
by peterwwillis 10y ago
It only needs "/". "g" finds all matches, but there is only one match in the string.
- newman314 10y agoStill needs the trailing /
- skywhopper 10y agoOnly for sed/perl. Not if you are using vim (although in that case it's missing the leading `:`).