petdance/ack — Issue #209: Possible to filter on extensions containing a period?
Author: jhoffmann
Created: 2012-02-16 16:24:23+00:00
State: open

I'm having an issue where I need to filter out *.lang.php files from ack results, though ack doesn't seem to want to filter on extensions containing a dot.

Example:

```
$ find . -type f -name '*.lang.php' | wc -l
3787

$ ack -f --noenv --type-set lang=.lang.php --lang | wc -l
0
```

Is this not possible? Is the type matching done on on the filename after the last dot?