This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Editorial status.
Section: 28.6.11.1.2 [re.regiter.cnstr] Status: NAD Editorial Submitter: Daniel Krügler Opened: 2007-03-03 Last modified: 2016-01-28
Priority: Not Prioritized
View all issues with NAD Editorial status.
Discussion:
In 28.6.11.1.2 [re.regiter.cnstr]/2 the effects paragraph starts with:
Effects: Initializes begin and end to point to the beginning and the end of the target sequence, sets pregex to &re, sets flags to f,[..]
There are two issues with this description:
Proposed resolution:
In 28.6.11.1.2 [re.regiter.cnstr]/2 change the above quoted part by
Effects: Initializes
beginandendto point to the beginning and the end of the target sequence , setspregexto&re, setsflagsto, then callsfregex_search(begin, end, match, *pregex, flags). If this call returnsfalsethe constructor sets*thisto the end-of-sequence iterator.