Ticket #1139: regex.hpp.patch
File regex.hpp.patch, 544 bytes (added by , 15 years ago) |
---|
-
regex.hpp
old new 57 57 return; 58 58 iterator first(&src[0], &src[0] + src.size(), re_, flags_); 59 59 iterator last; 60 const Ch* suffix = 0; // Prevent GCC 2.95 warning.60 const Ch* suffix = &src[0]; //suffix will be entire input if no match found 61 61 for (; first != last; ++first) { 62 62 dest.insert( dest.end(), 63 63 first->prefix().first,