regex correction for Mac osX

This commit is contained in:
Damien Dupuis 2010-12-09 14:38:41 +00:00
parent e43c102f45
commit 011be5487b
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ namespace Hurricane {
}
#else
# ifdef __APPLE__
boost::regex re ( "(\\d+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S)\\s+\\+\\s+(\\d+)" );
boost::regex re ( "(\\d+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+\\+\\s+(\\d+)" );
boost::cmatch match;
for ( size_t i=0 ; i<depth ; ++i ) {
@ -108,7 +108,7 @@ namespace Hurricane {
_stack.push_back ( (demangled.empty()) ? function : demangled );
else {
string reformated ( match[1].first, match[1].second );
reformated += "( <b>" + demangled + "</b> )";
reformated += " <b>" + demangled + "</b>";
_stack.push_back ( reformated );
}
} else {