Skip to content

Commit 6ee6db5

Browse files
authored
Fix typo in comment
1 parent 335eeb4 commit 6ee6db5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions

src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/Regex.Timeout.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public partial class Regex
1818
// InfiniteMatchTimeout specifies that match timeout is switched OFF. It allows for faster code paths
1919
// compared to simply having a very large timeout.
2020
// We do not want to ask users to use System.Threading.Timeout.InfiniteTimeSpan as a parameter because:
21-
// (1) We do not want to imply any relation between using a Regx timeout and using multi-threading.
21+
// (1) We do not want to imply any relation between using a Regex timeout and using multi-threading.
2222
// (2) We do not want to require users to take ref to a contract assembly for threading just to use RegEx.
2323
// We create a public Regex.InfiniteMatchTimeout constant, which for consistency uses the same underlying
2424
// value as Timeout.InfiniteTimeSpan, creating an implementation detail dependency only.

0 commit comments

Comments
 (0)