From: Thiago Macieira Date: Mon, 24 Dec 2007 13:20:04 +0000 (-0200) Subject: Allow repository names with dashes too X-Git-Url: http://andersk.mit.edu/gitweb/svn-all-fast-export.git/commitdiff_plain/5d3d11ece8e8cf823f7118ef3af503a274844d1c Allow repository names with dashes too --- diff --git a/src/ruleparser.cpp b/src/ruleparser.cpp index c214440..d0b3b76 100644 --- a/src/ruleparser.cpp +++ b/src/ruleparser.cpp @@ -47,10 +47,10 @@ void Rules::load() return; // initialize the regexps we will use - QRegExp repoLine("create repository\\s+(\\w+)", Qt::CaseInsensitive); + QRegExp repoLine("create repository\\s+(\\S+)", Qt::CaseInsensitive); QRegExp repoBranchLine("branch\\s+(\\S+)\\s+from\\s+(\\S+)", Qt::CaseInsensitive); QRegExp matchLine("match\\s+(.*)", Qt::CaseInsensitive); - QRegExp matchRepoLine("repository\\s+(\\w+)", Qt::CaseInsensitive); + QRegExp matchRepoLine("repository\\s+(\\S+)", Qt::CaseInsensitive); QRegExp matchBranchLine("branch\\s+(\\S+)", Qt::CaseInsensitive); QRegExp matchPathLine("path\\s+(.*)", Qt::CaseInsensitive);