aboutsummaryrefslogtreecommitdiff
path: root/cutl/details/boost/regex/v4/regex_iterator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cutl/details/boost/regex/v4/regex_iterator.hpp')
-rw-r--r--cutl/details/boost/regex/v4/regex_iterator.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cutl/details/boost/regex/v4/regex_iterator.hpp b/cutl/details/boost/regex/v4/regex_iterator.hpp
index daf8d22..82d0d09 100644
--- a/cutl/details/boost/regex/v4/regex_iterator.hpp
+++ b/cutl/details/boost/regex/v4/regex_iterator.hpp
@@ -68,7 +68,7 @@ public:
// flags |= match_prev_avail;
BidirectionalIterator next_start = what[0].second;
match_flag_type f(flags);
- if(!what.length())
+ if(!what.length() || (f & regex_constants::match_posix))
f |= regex_constants::match_not_initial_null;
//if(base != next_start)
// f |= regex_constants::match_not_bob;