in reply to Re^2: Remove all duplicates after regex capture
in thread Remove all duplicates after regex capture

Note that FreeBeerReekingMonk's solution only works because it relies on the blah on the line "title:#this is text I do not want# blah", and it only grabs the first title:. If I remove the blah or reorder the lines in the third example, it does not work.

Replies are listed 'Best First'.
Re^4: Remove all duplicates after regex capture
by FreeBeerReekingMonk (Deacon) on Aug 19, 2018 at 19:28 UTC
    yes, that is true. My implementation is faulty.