Fix incorrect references to sub_match having a .last member.

Fixes https://github.com/boostorg/regex/issues/115.

# Fixed Conflicts:
#	doc/html/index.html
This commit is contained in:
jzmaddock
2020-11-23 17:55:09 +00:00
parent e9645776f9
commit 39f28ac456
96 changed files with 228 additions and 229 deletions

View File

@ -97,7 +97,7 @@ Otherwise, for each match found, if
calls
std::copy(m.prefix().first, m.prefix().last, out),
std::copy(m.prefix().first, m.prefix().second, out),
and then calls
@ -109,7 +109,7 @@ Finally if
calls
std::copy(last_m.suffix().first, last_m,suffix().last, out)
std::copy(last_m.suffix().first, last_m.suffix().second, out)
where /last_m/ is a copy of the last match found.