Is your feature request related to a problem? Please describe.
In .NET 7 you can annotate regular expression pattern parameter with [StringSyntax(StringSyntaxAttribute.Regex)] so that this pattern will be colorized and validated in Visual Studio (also IntelliSense will work). Could you add this attribute to expression parameter in RegularExpressionValidator?
Describe the solution you'd like
Colorization, validation and IntelliSense for regular expression pattern string.
Describe alternatives you've considered
No response
Additional Context
No response