Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @stephentoub |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Regex
now supports takingReadOnlySpan<char>
as input. For instance,bool IsMatch(ReadOnlySpan<char> input)
is the equivalent ofbool IsMatch(string input)
for a span, improving performance and reducing memory allocation.But why is there a
ValueMatchEnumerator EnumerateMatches(ReadOnlySpan<char> input)
, similar toMatchCollection Matches(string input)
but noValueMatch Match(ReadOnlySpan<char> input)
similar toMatch Match(string input)
?Beta Was this translation helpful? Give feedback.
All reactions