Stop Trimming \r Off Every Regex Match. .NET 11 Has AnyNewLine
DEV Community
Stop Trimming \r Off Every Regex Match. .NET 11 Has AnyNewLine
.NET 11 adds RegexOptions.AnyNewLine, so ^, $, \Z and . treat \r\n, \r and Unicode line breaks as newlines, not just \n.
0 comments
No comments yet.