diff options
-rw-r--r-- | src/ruleparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |