Regex.Match, Matches, and IsMatch in C#: Named Groups and Capture Collections
Learn Regex.Match, Matches, and IsMatch in C# with named groups, capture collections, and .NET 7 EnumerateMatches for zero-allocation matching.
C# and .NET by Nick Cosentino
Practical, in-depth content for software engineers and technical leaders. Learn C#, .NET, software architecture, AI-assisted development, and engineering leadership with guidance you can apply on your team today.

The latest articles on software engineering, architecture, AI, and career growth.
Learn Regex.Match, Matches, and IsMatch in C# with named groups, capture collections, and .NET 7 EnumerateMatches for zero-allocation matching.
Compare facade vs adapter pattern in C# with side-by-side code examples, key structural differences, and guidance on when to use each.

Welcome to another issue of Dev Leader Weekly! In this issue, I break down how to think about measuring engineering manager effectiveness across technical, project, and people dimensions.
Optimize C# regex performance with GeneratedRegex source generation, Compiled vs interpreted modes, NonBacktracking O(n) matching, and timeout for ReDoS prevention.
Go deeper into the core topics on Dev Leader, from .NET and AI to software engineering and career growth.