diff --git a/source/remotefs/HTTPDir/HTTPDir.cpp b/source/remotefs/HTTPDir/HTTPDir.cpp index 7304eda..d3e80ce 100644 --- a/source/remotefs/HTTPDir/HTTPDir.cpp +++ b/source/remotefs/HTTPDir/HTTPDir.cpp @@ -68,8 +68,8 @@ void HTTPDir::DirList(std::string path,const std::vector &extension std::smatch sm; currentpath = path; - std::regex rgxlinks("(?!Parent Directory)(.*?)<\/a>"); + while (regex_search(s, sm, rgxlinks)) { FS::FileEntry tmpentry; @@ -133,4 +133,4 @@ void HTTPDir::backDir(){ currentpath = currentpath.substr(0, currentpath.find_last_of("\\/")+1); } -#endif \ No newline at end of file +#endif