Ignore:
Timestamp:
Jun 13, 2010, 6:46:29 PM (13 years ago)
Author:
Peter Johansson
Message:

closes #450. extend filename matching tp allow [xyz] and ?. Also fixed a bug when having asterisk (*) in end of pattern string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Configuration.cc

    r1097 r1098  
    366366    std::string res;
    367367    std::vector<std::string> vec;
    368     if (!regexp(str.begin(), str.end(), dic.first.begin(),dic.first.end(),vec)){
     368    if (!regexp(dic.first, str, vec)) {
    369369      std::stringstream mess;
    370370      mess << "invalid config file: "
Note: See TracChangeset for help on using the changeset viewer.