https://bugs.exim.org/show_bug.cgi?id=2245
Philip Hazel <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|REOPENED |RESOLVED --- Comment #7 from Philip Hazel <[email protected]> --- (In reply to Jim Michaels from comment #6) > I have once answer to impossible: fsetpos(). As we keep on saying, the PCRE library has NO CONCEPT of files! It deals only with strings of characters in main memory. fsetpos() works on FILE descriptors; there are none involved in the PCRE library, so there is nothing for fsetpos() to work on. If you are talking about pcre2grep rather than the underlying library, there are easy ways of matching strings at the start and end of a file: head -1 somefile | pcre2grep '^Start' tail -1 somefile | pcre2grep 'End$' As I said before, we seem to be misunderstanding each other. Please explain what you are really trying to do if you want to take this further. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev
