fix regex breakage in last commit (failure to handle empty regex, etc.)
[musl] / lib /
drwxr-xr-x   ..
-rw-r--r-- 0 empty