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