petdance/ack — Issue #211: Add function declaration search flag
Author: ericandrewlewis
Created: 2012-02-22 17:34:06+00:00
State: open

To search for a function declaration, you would do something like this:

ack "function myfunction("

As function definitions share the same syntax mostly across languages, perhaps we could simplify this into an option in ack search? so that you could do something like

ack --function myfunction

Of course the option could be something shorter, just a start for discussion.