The regex will catch only lines that start with 'Directory of' regardless. Also, fixing unit tests while at it.