id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3899,"Regex: Bug in handling of ""\Z""",Keith MacDonald ,John Maddock,"Bug in handling of ""\Z"" According to the documentation, the RE ""\Z"" is equivalent to ""\n*\z"", but it behaves differently. Given the text: {{{ 1\r 2\r \r }}} Replacing all instances of ""\n*\z"" with ""A"" correctly results in: {{{ 1\r 2\r \r A }}} Whereas replacing all instances of ""\Z"" with ""A"" incorrectly results in: {{{ 1\r 2A\r A\r A }}} It does not seem to differentiate between ""\r"" and ""\n"", nor to correctly recognize the end of the buffer. ",Bugs,closed,Boost 1.43.0,None,Boost 1.42.0,Problem,worksforme,,