using System.Text.RegularExpressions; namespace Brutal.Localization; /// /// The default values used by various parts of Brutal.Localization. /// public static partial class DefaultOptions { private const string RegexExpression = @"([{]_*\p{Lu}[\p{Lu}\p{Ll}_\d]*[}])"; /// /// The Regex pattern to use to match replacement variables in localizable strings. If you wish to use a different pattern /// set this field before creating instances. /// [GeneratedRegex(RegexExpression, RegexOptions.IgnoreCase, "en-US")] public static partial Regex ReplacementPattern(); /// /// The initial span length that any of the methods will request from the . /// For more information on how this value is used see . /// public static readonly ElementCount FormatInitialSpanLength = 256; }