sam -- a fork of the standard text editor for Plan 9 from Bell Labs

sam is a text editor originally written for the Blit graphical terminal
connected to a machine running 9th Edition Research Unix. It contained many
useful innovations, the most famous of which was its use of structural regular
expressions.