beyondgrep/ack1

multiple patters on same line in random order

Tux opened this issue · 1 comments

Tux commented

Something to be able to ack on multiple words on the same line in whatever order, so that (suggestion)

$ ack -i -w -e run -e like -e hell

=>

m{(?=.\b run \b)(?=.\b like \b)(?=.*\b hell \b)}xi

which is no fun typing from the command line

This is in the ack2 queue as beyondgrep/ack2#139.