在 .NET 中,Unicode 块属性需要编写为Is...:
[\p{IsGreek}\p{IsCyrillic}...]
Run Code Online (Sandbox Code Playgroud)
像这样的模式会检测到您案例中的所有违规字符。如果您只想排除所有但Latin,您可以执行以下操作:
[^\p{IsBasicLatin}\p{IsLatin-1Supplement}\p{IsLatinExtended-A}\p{IsLatinExtended-B}]
Run Code Online (Sandbox Code Playgroud)
这涵盖了U+024F.
有关支持的块名称列表,请参阅 MSDN。