xref: /freebsd/bin/ed/test/g2.t (revision ce3adf4362fcca6a43e500b2531f0038adbfbd21)
1g/[2-4]/-1,+1c\
2hello world
3