improved directory syntax matching #rekt-regex