dotnet / dotnet/dotnet-api-docs

Set timeout to all regex doesn't work

Open
#12,032 1 comment 0 reactions 0 assignees View on GitHub
area-System.Text.RegularExpressions untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Code doesn't work

### Description

I discover an issue in the code of the doc : the run, on the web editor, doesn't return the result as expected.
```
Default regex match timeout: 00:00:02
Regular expression pattern: [aeiouy]
Timeout interval for this regex: -0.001 seconds
```

### Page URL

https://learn.microsoft.com/fr-fr/dotnet/api/system.text.regularexpressions.regex.matchtimeout?view=netcore-3.0#code-try-1

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Text.RegularExpressions/Regex.xml

### Document Version Independent Id

b831380d-2879-bdf3-f7ea-3ecd269616e1

### Platform Id

43540ffb-4cef-edac-295a-f7e02f085805

### Article author

@dotnet-bot

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.