From 0e9ca3fe5f4290d2fd6408044f11c4cfce998401 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 23 Jul 2006 17:30:49 +0000 Subject: [PATCH] Fairly trivial patch for bug report 1526472. [SVN r34680] --- include/boost/regex/v4/regex_token_iterator.hpp | 1 + include/boost/regex/v4/u32regex_token_iterator.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/include/boost/regex/v4/regex_token_iterator.hpp b/include/boost/regex/v4/regex_token_iterator.hpp index adbb534d..0a3af367 100644 --- a/include/boost/regex/v4/regex_token_iterator.hpp +++ b/include/boost/regex/v4/regex_token_iterator.hpp @@ -110,6 +110,7 @@ public: result.first = first; result.second = end; result.matched = (first != end); + N = -1; return true; } return false; diff --git a/include/boost/regex/v4/u32regex_token_iterator.hpp b/include/boost/regex/v4/u32regex_token_iterator.hpp index 323d0024..ad75d76a 100644 --- a/include/boost/regex/v4/u32regex_token_iterator.hpp +++ b/include/boost/regex/v4/u32regex_token_iterator.hpp @@ -107,6 +107,7 @@ public: result.first = first; result.second = end; result.matched = (first != end); + N = -1; return true; } return false;