It's no Vim. I think it has a total of 20 or so commands?
But then, just global regex substitution is all you need for TC, and ed has other fancy things like getting line length and such.
Basically, if sed has it, ed probably has it too, since sed was developed to be ed but better for noninteractive use.
I belive the first text editor to support a form of regex was the 1967 qed, on which ed is based.
> somewhere between a line editor and a command interpreter qed is a multiple-file programmable text editor and a programming language based on ed(1), intended for use primarily by programmers.
I seriously wonder how that is, given it came out nearly four years before ed.