Closed dupuy closed 10 years ago
@dupuy What version of ack is this on? I just tried with ack built from 963d82a and I didn't see this.
I was using ack version 2.02; when I saw the related ticket #364 was still open, it didn't occur to me to check my particular corner case against a newer version.
A brew install
of 2.12 eliminates the problem, so closing.
This is related to #302 and #364; if the ack matching pattern contains capturing parentheses, colorized output is generated even if --nocolor is specified:
As with the other bugs, you can work around this by using
(?:)
: