When editing a bundle, you can set the file types which this bundle should apply to by default

Is there any way I am able to include file masks in this, or does it just work on file extension? 

For example, I have *.js files which obviously default to Javascript
My Smarty bundle is set to handle all *.tpl files 

But now I want to override this by treating "js_*.tpl" files as Javascript also

Thanks