- implemented non-greedy matching in sed, thanks to
  http://stackoverflow.com/users/45654/stefanb