http://www.perlmonks.org?node_id=1214652


in reply to Re: regex for identifying encrypted text
in thread regex for identifying encrypted text

The problem with this approach is that the line with "set private" is the same in both files and therefore will not be featured in the diff. The data between these markers must be removed before the diff is performed.