    linenr:1
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:#
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:# GNU sed accepts end-of-line comments with no ; before.

    linenr:2
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:#
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:### foo

    linenr:3
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:#
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:#foo

    linenr:4
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:#
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:#

    linenr:5
     addr1:/foo/
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:{
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:# c1;c1

    linenr:6
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:#
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:# foo;bar

    linenr:7
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:#
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:#;

    linenr:8
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:p
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:#p1

    linenr:9
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:p
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:# p2

    linenr:10
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:p
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:### p3

    linenr:11
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:p
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:# p4;p4

    linenr:12
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:p
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:# p5

    linenr:13
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:s
   content:
 delimiter:/
   pattern:a
   replace:b
      flag:
   comment:#s1

    linenr:14
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:s
   content:
 delimiter:/
   pattern:a
   replace:b
      flag:
   comment:# s2

    linenr:15
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:s
   content:
 delimiter:/
   pattern:a
   replace:b
      flag:gp
   comment:#s3

    linenr:16
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:s
   content:
 delimiter:/
   pattern:a
   replace:b
      flag:gp
   comment:# s4

    linenr:17
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id::
   content:foo
 delimiter:
   pattern:
   replace:
      flag:
   comment:#l1

    linenr:18
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id::
   content:foo
 delimiter:
   pattern:
   replace:
      flag:
   comment:# l2

    linenr:19
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:b
   content:foo
 delimiter:
   pattern:
   replace:
      flag:
   comment:#b1

    linenr:20
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:b
   content:foo
 delimiter:
   pattern:
   replace:
      flag:
   comment:# b2

    linenr:21
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:b
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:#b3

    linenr:22
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:b
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:# b4

    linenr:23
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:}
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:# c2

    linenr:24
     addr1:
 addr1flag:
     addr2:
 addr2flag:
  lastaddr:
  modifier:
        id:#
   content:
 delimiter:
   pattern:
   replace:
      flag:
   comment:#

