-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix code snippet in 'Collection lookups with spans (What's new in .NET libraries for .NET 9)' documentation #43702
base: main
Are you sure you want to change the base?
Conversation
Thanks @wipiano, and sorry for the delay. You're right that the original code doesn't do what it's supposed to. I wonder why Since
@stephentoub Do you have any preference as to whether the code that demonstrates |
Leaving the door open to add additional state as part of enabling EnumerateMatches to also gather capture group information.
No preference. |
@gewarren Thanks for your review. I think your suggested code is simple and I prefer it. I'll check it and incorporate it into this pull request. |
Summary
Fixes #43701