The context here is I have some code which does completion on relative paths so stuff like ../../ab/cd.el etc, because of ("^\\." nerd-icons-octicon "nf-oct-gear") in nerd-icons-regexp-icon-alist all relative path end up with the gear icon. As far as I can tell, the regexps in that alist seemed designed to match the non-directory part of filename and not the whole path and hence this patch.
The context here is I have some code which does completion on relative paths so stuff like
../../ab/cd.el
etc, because of("^\\." nerd-icons-octicon "nf-oct-gear")
innerd-icons-regexp-icon-alist
all relative path end up with the gear icon. As far as I can tell, the regexps in that alist seemed designed to match the non-directory part of filename and not the whole path and hence this patch.