From: Dirk H Bartley Date: Tue, 4 Sep 2007 17:35:00 +0000 (+0000) Subject: This change of the regular expressions should fix any restoretree issues X-Git-Tag: Release-7.0.0~5746 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3cf39775cd0e988830abd214d5d3ad3dd91578ee;p=bacula%2Fbacula This change of the regular expressions should fix any restoretree issues relating to the possibility of a capitol letter being returned from the database as a drive letter. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5451 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/restore/restoretree.cpp b/bacula/src/qt-console/restore/restoretree.cpp index 6d22c70fe4..e1594a39b9 100644 --- a/bacula/src/qt-console/restore/restoretree.cpp +++ b/bacula/src/qt-console/restore/restoretree.cpp @@ -51,8 +51,8 @@ restoreTree::restoreTree() m_populated = false; dockPage(); - m_winRegExpDrive.setPattern("^[a-z]:/$"); - m_winRegExpPath.setPattern("^[a-z]:/"); + m_winRegExpDrive.setPattern("^[a-zA-Z]:/$"); + m_winRegExpPath.setPattern("^[a-zA-Z]:/"); m_slashregex.setPattern("/"); m_debugCnt = 0; m_debugTrap = true;