Fix ftdetect and regex for M: / F: