alex does not find its configuration file when using temporary files for input.
https://github.com/wooorm/alex Enabled for text-like file formats and documented in README and doc.