]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
adding the dash as valid character in directory names (avoids svn level3 directories...
authorrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Oct 2010 13:29:07 +0000 (13:29 +0000)
committerrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 27 Oct 2010 13:29:07 +0000 (13:29 +0000)
STEER/AliCDBPath.cxx

index 390fd825ae970944126d80ccec6bd39fb15c8996..317c2aa175ab597528ec988eccaf098d8a799613 100644 (file)
@@ -202,7 +202,7 @@ AliCDBPath::~AliCDBPath() {
 Bool_t AliCDBPath::IsWord(const TString& str) {
 // check if string is a word
 
-       TRegexp pattern("^[a-zA-Z0-9_.]+$");
+       TRegexp pattern("^[a-zA-Z0-9_.-]+$");
 
        return str.Contains(pattern);   
 }