Microsoft’s latest preview of .NET 7, the forthcoming next version of its software development platform, features enhancements for working with regular expressions and caching.
Downloadable from the Microsoft .NET website, the fourth preview of .NET 7 was published May 10. The production release is due in November.
Microsoft .NET Preview 4 adds remaining planned APIs that add support for span types to the Regex (regular expressions) library. The changes add support for matching with
ReadOnlySpan<char> inputs and overhaul the handling of
RegexOptions.IgnoreCase. The new span-based APIs include: