Build, test, and debug regular expressions
This regular expression matches C# public property declarations, capturing the property's type and name. It is useful for identifying class members that may need a JsonPropertyName attribute, for example when serializing with System.Text.Json. The pattern is case-insensitive and PCRE2-compatible.