[Patch] Regex comments

Tim Shen timshen91@gmail.com
Mon Oct 28 00:23:00 GMT 2013


Thank you for figuring out so many syntax errors, I'll be careful next time.

On Sun, Oct 27, 2013 at 5:38 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> +  // The order of which states needs to be recursively applied DFS matters,
> +  // depend on which greedy mode we use.
>
> I don't understand this sentence at all, sorry.  Can you explain it in
> other terms, and I'll try to suggest better phrasing?

+    // _M_alt branch is "match once more", while _M_next is "get me out
+    // of this quantifier". Executing _M_next first or _M_alt first don't
+    // mean the same thing, and we need to choose the correct order under
+    // given greedy mode.


-- 
Regards,
Tim Shen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.patch
Type: text/x-patch
Size: 7728 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20131028/267cb557/attachment.bin>


More information about the Libstdc++ mailing list