- - rules are entirely regexps applied to the file_name
- if you need something more complicated than regexing the file_name, you can define your own function
My hope is that it is flexible enough for just about anyone to get benefit from it. If not, let me know and I'll see if I can make it more so.
It can be found at https://github.com/phillipkoebbe/DetectSyntax and I have made a pull request to make it available in Package Control.
EDIT: as of 2012-01-22, it's available via Package Control.