I Made A Big Mistake - Only 3x Regex Performance Gains in C#
April 15, 2024
• 386 views
regex tutorialregular expressionregexregex find and replaceregular expression matchingregex testregex introregex how tosearch regexc# regexc# regular expressionshow to use regular expression in c#regex matching c#regular expression in c#regex in .netregular expressions c#regex in c#pattern matchinghow to use regex in c#regex examplesregex expression c#what is regexdotnetC#benchmarkdotnetbenchmarkbenchmarkingC# benchmarks
In my original video, I wanted to showcase some performance benchmarks for regular expressions in C#. It turns out that shortly after posting it, a viewer pointed out a critical flaw in my benchmarking code!
This is my redemption video where I explain what the viewer correctly pointed out about C# Regex methods and how the MatchCollection class works in C#. These benchmarks should be more accurate -- but let me know if you spot anything funky!
