sed made comprehensible!

I needed a regex for a Makefile in an ebuild I was working on, and hit a problem. I needed to match part of a line, discarding the rest and repacing it with something else. This was slightly beyond my experience, having only ever done
in vim before.

I joined #sed on freenode for some advice, and being a good internet citizen I followed their links in the /topic before I asked. Wow, was I in for a surprise finally a sed introduction that is easy to follow and clear. Thank you so much!

My first proper regex, of which I am inordinately proud (put together with no interactive help or direct advice).
sed 's:\(VERSION \=\).*:\1 foo:'
Thank you Grymoire!

--> This blog now has syntax highlighting!