Andy Lester

Results 496 comments of Andy Lester

The `--test` on the command line should have overridden the `--notest` in the ackrc.

A `--test` on the command line will also a `--notest` preceding it on the command line.

Just to clarify what you mean by groups, you're talking match groups in the regex? So that if you ack for `ack '(foo)somethingsomething(bar)'` that all the things that match `foo`...

Am I right in thinking that this would be more for debugging your regex than for normal usage? Or are you thinking you'd have something like ack '(thisfunc|thatfunc).+(thisarg|thatarg)' so that...

Thanks for this, Dabe. Interesting idea that I think is worth talking about. The idea of multiple regexes is not a new one. If we do adopt it, it will...

> I didn't even realize there was an ack3. Mea culpa I haven't really announced it, and there's not really a central place to announce it. :-/

@DabeDotCom What prompted you to want this bit of functionality?

> Yet another issue I started to open was to include --regex-from= à la grep -f. That one I'm much less keen to pursue. Aside: If you haven't looked at...

Never mind that `ack '\.p[ml]$'` is not the same as `ack --perl`.

Also, not surprisingly, the use of `git ls-files | ack -x --perl foo` is what brought this up.