30 references to GeneratedRegex
aspire (8)
Commands\NewCommand.cs (1)
283[GeneratedRegex(@"^[^/\\]{1,254}$", RegexOptions.Compiled)]
Utils\MarkdownToSpectreConverter.cs (7)
226[GeneratedRegex(@"^###### (.+?)\s*$", RegexOptions.Multiline)] 229[GeneratedRegex(@"^##### (.+?)\s*$", RegexOptions.Multiline)] 232[GeneratedRegex(@"^#### (.+?)\s*$", RegexOptions.Multiline)] 235[GeneratedRegex(@"^### (.+?)\s*$", RegexOptions.Multiline)] 238[GeneratedRegex(@"^## (.+?)\s*$", RegexOptions.Multiline)] 241[GeneratedRegex(@"^# (.+?)\s*$", RegexOptions.Multiline)] 259[GeneratedRegex(@"```\s*(.*?)\s*```", RegexOptions.Singleline)]
Aspire.Azure.Storage.Blobs (1)
AzureBlobStorageContainerSettings.cs (1)
15[GeneratedRegex(@"(?i)ContainerName\s*=\s*([^;]+);?", RegexOptions.IgnoreCase)]
Aspire.Azure.Storage.Queues (1)
AzureStorageQueueSettings.cs (1)
15[GeneratedRegex(@"(?i)QueueName\s*=\s*([^;]+);?", RegexOptions.IgnoreCase)]
Aspire.Dashboard (4)
ConsoleLogs\UrlParser.cs (1)
70[GeneratedRegex(
Model\ConnectionStringParser.cs (2)
56[GeneratedRegex(@"(\[[^\]]+\]|[^,:;\s]+)[:,](\d{1,5})", RegexOptions.Compiled)] 63[GeneratedRegex(@"^jdbc:[^:]+://([^:/\s]+)(?::(\d+))?(?:/.*)?", RegexOptions.IgnoreCase | RegexOptions.Compiled)]
src\Shared\ConsoleLogs\TimestampParser.cs (1)
54[GeneratedRegex("""
Aspire.Hosting (3)
Dashboard\DashboardService.cs (1)
33[GeneratedRegex("""^(?<name>.+?)\.?AppHost$""", RegexOptions.ExplicitCapture | RegexOptions.IgnoreCase | RegexOptions.Singleline | RegexOptions.CultureInvariant)]
Dcp\DcpExecutor.cs (1)
56[GeneratedRegex("""^(?<name>.+?)\.?AppHost$""", RegexOptions.ExplicitCapture | RegexOptions.IgnoreCase | RegexOptions.Singleline | RegexOptions.CultureInvariant)]
src\Shared\ConsoleLogs\TimestampParser.cs (1)
54[GeneratedRegex("""
Aspire.Hosting.SqlServer (1)
SqlServerBuilderExtensions.cs (1)
22[GeneratedRegex(@"^\s*GO(?<repeat>\s+\d{1,6})?(\s*\-{2,}.*)?\s*$", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase)]
BuildActionTelemetryTable (1)
Program.cs (1)
367[GeneratedRegex("""
Microsoft.Extensions.AI.Abstractions (1)
Functions\AIFunctionFactory.cs (1)
1051[GeneratedRegex(PotentiallyJsonRegexString, RegexOptions.IgnorePatternWhitespace)]
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\UidManager.cs (1)
1307[GeneratedRegex("(<|>|\"|'|&)", RegexOptions.CultureInvariant)]
PresentationFramework (1)
System\Windows\Documents\WinRTSpellerInterop.cs (1)
546[GeneratedRegex(@"\s*\#LID\s+(\d+)\s*", RegexOptions.Singleline | RegexOptions.CultureInvariant)]
System.Data.Common (3)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (3)
54[GeneratedRegex(ConnectionStringPattern, RegexOptions.ExplicitCapture)] 57[GeneratedRegex(ConnectionStringPatternOdbc, RegexOptions.ExplicitCapture)] 75[GeneratedRegex("^\\{([^\\}\u0000]|\\}\\})*\\}$", RegexOptions.ExplicitCapture)]
System.Data.Odbc (3)
src\libraries\Common\src\System\Data\Common\DbConnectionOptions.Common.cs (3)
54[GeneratedRegex(ConnectionStringPattern, RegexOptions.ExplicitCapture)] 57[GeneratedRegex(ConnectionStringPatternOdbc, RegexOptions.ExplicitCapture)] 75[GeneratedRegex("^\\{([^\\}\u0000]|\\}\\})*\\}$", RegexOptions.ExplicitCapture)]
System.Private.Xml (1)
System\Xml\Schema\FacetChecker.cs (1)
1344[GeneratedRegex("^([a-zA-Z]{1,8})(-[a-zA-Z0-9]{1,8})*$", RegexOptions.ExplicitCapture)]
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\GeneratedRegexAttribute.cs (1)
29public GeneratedRegexAttribute([StringSyntax(StringSyntaxAttribute.Regex)] string pattern) : this(pattern, RegexOptions.None)