tmemslices.nim 246 B

12345678910111213
  1. discard """
  2. outputsub: "rlwuiadtrnzb"
  3. """
  4. # chatever the sub pattern it will find itself
  5. import memfiles
  6. var inp = memfiles.open("tests/stdlib/tmemslices.nim")
  7. for mem in memSlices(inp):
  8. if mem.size > 3:
  9. echo("#" & $mem & "#")
  10. close(inp)