Pattern matching with the vi editor