sed is great, but not that great

TIL: http://stackoverflow.com/questions/1103149/non-greedy-regex-matching-in-sed

It turns out, sed has no concept of a non-greedy match. You have to use perl or some other advanced tool to get that regex feature. The workaround given at Stack Overflow only works if you have a single character ending match delimiter (in this case, it was [^/]+ to match until the next forward slash).

sed is great, but not that great is original content from devolve.