dcjones/fastq-tools — Issue #2: fastq-grep invert_flag is not behaving correctly
Author: leipzig
Created: 2011-11-18 17:27:32+00:00
State: open

I think the invert-flag should select only non-matching sequences. It seems to be selecting all sequences, matching or non-matching.

the line here is always true if invert_flag is 1:
if ((invert_flag && rc == PCRE_ERROR_NOMATCH) || rc >= 0)