Changeset 290 for trunk/lib/utility.cc


Ignore:
Timestamp:
May 8, 2007, 3:34:58 PM (14 years ago)
Author:
Peter Johansson
Message:

added suppport for links of type ticket:180 refs #180

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/utility.cc

    r289 r290  
    111111
    112112
     113  std::string match(std::string::const_iterator& first,
     114                    const std::string::const_iterator& last,
     115                    const char* c)
     116  {
     117    std::string str(c);
     118    if (match_begin(first, last, str)) {
     119      first += str.size();
     120      return str;
     121    }
     122    return std::string();
     123  }
     124
     125
    113126  bool node_exist(const std::string& path)
    114127  {
Note: See TracChangeset for help on using the changeset viewer.