Deep Dive into RegEx with Stephen Toub

  Рет қаралды 17,934

dotnet

dotnet

Күн бұрын

Scott and Stephen are back with another deep dive into C# and .NET features. This time is RegEx, everyone's favorite powerful magical strings that you can never figure out how to exactly get write. Stephen breaks down every bit that you need to know about RegEx in .NET.
Chapters:
00:00:00 Understanding and Utilizing Regular Expressions in Software Development
00:04:36 Deep Dive into Regular Expressions in Visual Studio
00:11:22 Understanding Regular Expressions and Their Applications
00:17:20 Understanding the Interpretation and Implementation of Regular Expressions in Programming
00:18:22 Understanding the Process of Programming: Interpretation and Compiling
00:23:48 Exploring New Engine Features in .NET 7
00:26:49 Understanding the Role and Functionality of Source Generators in the C# Project
00:31:33 Understanding the Role and Functionality of Source Generators in Programming
00:33:23 Discussing the Functionality and Evolution of Source Generators in C#
00:37:03 Discussing Testing and Debugging Regular Expressions
00:40:08 Understanding the Algorithmic Process of Matching Patterns
00:42:28 Understanding the Complexity and Backtracking in Linear Programming
00:43:30 Understanding the Complexity and Efficiency of Regular Expressions
00:50:29 Exploring the Efficiency and Limitations of Regex Engines in Web Development
00:54:24 Discussion on Regex Implementation and Caching in Programming
00:57:58 Exploring the Implementation and Best Practices of Regular Expressions in Application Development
01:02:39 Understanding the Use of Search Values in .NET 8 and its Optimization
01:04:31 Understanding the Internals of Regex Programming
Resources:
Docs: learn.microsoft.com/dotnet/st...
Connect with .NET:
Blog: aka.ms/dotnet/blog
Twitter: aka.ms/dotnet/twitter
TikTok: aka.ms/dotnet/tiktok
Mastodon: aka.ms/dotnet/mastodon
LinkedIn: aka.ms/dotnet/linkedin
Facebook: aka.ms/dotnet/facebook
Docs: learn.microsoft.com/dotnet
Forums: aka.ms/dotnet/forums
🙋‍♀️Q&A: aka.ms/dotnet-qa
👨‍🎓Microsoft Learn: aka.ms/learndotnet
#dotnet #csharp #regex

Пікірлер: 71
@HTSCoding
@HTSCoding Ай бұрын
We need more. Please a deep dive on Expression and Expression Trees !
@weneedlittlepatience
@weneedlittlepatience Ай бұрын
Could we get a Span from scracth? 👀
@Kitulous
@Kitulous Ай бұрын
yes please!
@shanselman
@shanselman Ай бұрын
Yep. Soon
@weneedlittlepatience
@weneedlittlepatience Ай бұрын
@@shanselman keep cooking my man, insane duo.
@neonmidnight6264
@neonmidnight6264 Ай бұрын
That would be just readonly ref struct Span { readonly ref T reference; readonly int length; }. All the heavy lifting is done by VM/GC to track such pointers (byrefs) and correctly handle the differences when they point to object interiors, stack or unmanaged memory. It's quite a bit low-level, though I suppose you could emulate it with ArraySlice-style structure...
@shanselman
@shanselman Ай бұрын
@@neonmidnight6264not exactly
@djchrisi
@djchrisi Ай бұрын
This is really gold. I would appreciate a deep dive into reflection.
@johndonaldmelville
@johndonaldmelville Ай бұрын
Loving the Hanselman + Toub collaboration. I agree this one was much more user focused than the others. I still love seeing under the covers of c#. I would recommend span and ref structs for a future episode.
@shanselman
@shanselman Ай бұрын
Span is next
@marklord7614
@marklord7614 Ай бұрын
Loving this series so far and very useful topics being covered.
@talkalderon9752
@talkalderon9752 Ай бұрын
Will really like to hear Deep Dive AsyncLocal
@rudreshgp
@rudreshgp Ай бұрын
Thank you Stephen Toub and Scott Hanselman for these videos. Even with such a busy schedule you're teaching us.
@burndasbr
@burndasbr Ай бұрын
Please do an episode where you implement a Source Generator. They're so cool, but there isn't that much deep diving yet easy to understand content about it.
@christopherserrao4566
@christopherserrao4566 Ай бұрын
A deep dive session on SIMD please.
@--Eric--
@--Eric-- Ай бұрын
Thanks again, Stephen and Scott, great as usual. 👍🏼 I'm very happy that you don't use a dark theme, and also that you use a big zoom factor. 👍🏼👍🏼 I can hardly wait for the next episode, thank you. 👏🏼
Ай бұрын
I didn't think a session about regex could become so interesting. I'm glad I clicked to start playing. Thanks for the series! It's been awesome!
@vanlangen
@vanlangen Ай бұрын
What a brilliant concept to create a C# code file rather than using reflection.emit. By allowing the compiler to optimize code execution before it's statically integrated into the binary, as opposed to compiling it at runtime, efficiency is significantly enhanced. This capability is exclusive to constant regex strings, as they are transmitted as attributes.
@LasseVagstherKarlsen
@LasseVagstherKarlsen Ай бұрын
I would be interested in a discussion around Span, and why, as an example, it can't be stored on the heap. Not a 1 hour talk though, but perhaps as part of a bigger topic. Maybe a deep dive on the garbage collector would be an idea. In any case, thank you both so much for this series of videos, keep churning them out as fast as you can, I've learned something new from all of them so far and to the level you guys are taking it, I'm sure I will learn something from every one you release, so keep'em coming.
@shanselman
@shanselman Ай бұрын
Span is next
@LasseVagstherKarlsen
@LasseVagstherKarlsen Ай бұрын
@@shanselman Oh you’re such a tease, you can’t just throw that out there well ahead of the video. Looking forward to it!
@imranhussain8700
@imranhussain8700 Ай бұрын
Friend: Which Series are you watching these days? Me: Deep Dot Net.
@aimafirm
@aimafirm Ай бұрын
Thanks so much for this series! What a dream team here, plus most relevant topics.
@adamliedloff5409
@adamliedloff5409 23 күн бұрын
Thank you Scott and Stephen. Simply the best series of code videos I’ve seen. Love the choice of topics. I use them all, but still had an underlying fear that I didn’t really understand them and wasn’t using them correctly. All now totally demystified and I’m going back through code to clean it up. Oh, that feeling of clean code with no niggling gremlins lurking.
@MatteoGariglio
@MatteoGariglio Ай бұрын
Very very valuable series of videos. Thanks for organizing it and share this content.
@alecclews
@alecclews Ай бұрын
Fun thing. I learned how to use Regex by reading the ME editor manual that came with MS C/C++ 5.1 (that was the late 80's). Roll on 40 years and in my last job I was considered a mage because I could do regex (our product exposed the Java RE engine for config settings). The support team worshipped me 🙂
@TodorTsankov-vz3sd
@TodorTsankov-vz3sd Ай бұрын
What a great way to finish the day 🤩
@obinnaokafor6252
@obinnaokafor6252 Ай бұрын
Another amazing talk. Please could you invite Tanner Gooding to talk about Tensors and ML libraries, Intrinsics, Numerics and Math Libries? ❤❤
@mehmetck
@mehmetck Ай бұрын
This series should be C# 101 learning library. I hope we ll see more content like this. Thanks for your time Stephen and Scott you are rock.
@Dustyy01
@Dustyy01 Ай бұрын
Finally a new Episode! 🎉
@hashdynamics978
@hashdynamics978 Ай бұрын
I love Stephen. Great content.
@leknyzma
@leknyzma Ай бұрын
kid in the background feels the regex :D
@obinnaokafor6252
@obinnaokafor6252 Ай бұрын
🤣🤣🤣🤣🤣🤣🤣🤣
@asedtf
@asedtf Ай бұрын
The plural of regex is regrets
@alexisfibonacci
@alexisfibonacci Ай бұрын
ha ha
@josefromspace
@josefromspace Ай бұрын
😂😂😂
@frankhaugen
@frankhaugen Ай бұрын
Too true
@jarosawfrankowski7845
@jarosawfrankowski7845 Ай бұрын
Great content!
@SteveCatLover
@SteveCatLover Ай бұрын
I’d love to see a deep dive on dependency injection!!
@eddypartey1075
@eddypartey1075 Ай бұрын
God bless these vids
@mrqbboy
@mrqbboy Ай бұрын
Thanks again, Guys.
@gordonbeeming
@gordonbeeming Ай бұрын
Great video, I've not seen a deep dive this way into Regex before... almost feels like it's not that deep from the journey being "structured" so well
@yogibarista2818
@yogibarista2818 Ай бұрын
A regex for email address that meets all of the various RFCs that can apply, is basically so ridiculous as to be impossible.
@secvbulrep
@secvbulrep Ай бұрын
U r the best!
@leroyvan7357
@leroyvan7357 Ай бұрын
thanks you
@pylvr8021
@pylvr8021 Ай бұрын
More Stephane please
@MAMW93
@MAMW93 Ай бұрын
the kids playing in the background made it tougher to follow. love kids.. can't pay attention to both lmao
@GuildOfCalamity
@GuildOfCalamity Ай бұрын
Toub is the best guest by far. But, can we dark theme for the love of all that is holy?
@DestinationDub
@DestinationDub Ай бұрын
Another amazing video but I still can't do regex!
@egvijayanand
@egvijayanand Ай бұрын
reg. Regex Groups, the Zeroth group is always the complete match, whether or not parentheses are used.
@yonatan2608
@yonatan2608 20 күн бұрын
@dotnet It's really upsetting when you're stopping weekly videos!
@fluffydoggo
@fluffydoggo Ай бұрын
We need regex for replacing. I find so many instances where I need to capitalize the first letter when replacing text
@guiorgy
@guiorgy Ай бұрын
19:54 well technically 6 bytes
@Cryogenic1981
@Cryogenic1981 Ай бұрын
Please keep the content over 300. This is like a roller coaster from 400 to 50 level multiple times a minute.
@__angle
@__angle Ай бұрын
🥰
@troncek
@troncek Ай бұрын
That's all great and all, but dark mode please. :0
@jimiscott
@jimiscott Ай бұрын
You have a problem which needs to be solved through Regex - now you have two problems.
@alexisfibonacci
@alexisfibonacci Ай бұрын
Primeagen says "squeal"....
@mar_sze
@mar_sze Ай бұрын
Love these videos, but for a series called "deep dive" a lot of it seems to be targeted at beginners.
@Kitulous
@Kitulous Ай бұрын
when Stephen says "we" about creating C# or .NET I always think that he single handedly created C# and .NET
@asedtf
@asedtf Ай бұрын
Royal Performance We
@chrisnuk
@chrisnuk Ай бұрын
Imagine writing something this amazing and knowing that 99.99% of people who use it won't know how good it is AND they probably won't need to 😮
A Complete .NET Developer's Guide to Span with Stephen Toub
1:02:48
Which one of them is cooler?😎 @potapova_blog
00:45
Filaretiki
Рет қаралды 4,8 МЛН
ГДЕ ЖЕ ЭЛИ???🐾🐾🐾
00:35
Chapitosiki
Рет қаралды 9 МЛН
🍟Best French Fries Homemade #cooking #shorts
00:42
BANKII
Рет қаралды 61 МЛН
Working with Channels in .NET
27:41
dotnet
Рет қаралды 30 М.
MS-DOS has been Open-Sourced!  We Build and Run it!
15:01
Dave's Garage
Рет қаралды 403 М.
Writing async/await from scratch in C# with Stephen Toub
1:06:02
Best Programming Languages Tier List
33:02
Serif Sundown
Рет қаралды 10 М.
You Are WRONG About 0 Based Indexing
25:02
ThePrimeTime
Рет қаралды 235 М.
Deep Dive on LINQ with Stephen Toub
1:23:59
dotnet
Рет қаралды 51 М.
Understanding how to use Task and ValueTask
26:59
Microsoft Developer
Рет қаралды 26 М.
Stop Using the Worst Way to Loop Lists in .NET!
9:35
Nick Chapsas
Рет қаралды 44 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 5 МЛН
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 1,7 МЛН
Main filter..
0:15
CikoYt
Рет қаралды 4,7 МЛН