mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 22:02:08 +02:00
Informative comment
[SVN r32280]
This commit is contained in:
@ -565,7 +565,12 @@ bool perl_matcher<BidiIterator, Allocator, traits>::match_buffer_end()
|
||||
template <class BidiIterator, class Allocator, class traits>
|
||||
bool perl_matcher<BidiIterator, Allocator, traits>::match_backref()
|
||||
{
|
||||
// compare with what we previously matched:
|
||||
//
|
||||
// Compare with what we previously matched.
|
||||
// Note that this succeeds if the backref did not partisipate
|
||||
// in the match, this is in line with ECMAScript, but not Perl
|
||||
// or PCRE.
|
||||
//
|
||||
BidiIterator i = (*m_presult)[static_cast<const re_brace*>(pstate)->index].first;
|
||||
BidiIterator j = (*m_presult)[static_cast<const re_brace*>(pstate)->index].second;
|
||||
while(i != j)
|
||||
|
Reference in New Issue
Block a user