Pattern.UnicodeCase 字段

定义

注意

This constant will be removed in the future version. Use Java.Util.Regex.RegexOptions enum directly instead of this field.

启用 Unicode 感知大小写折叠。

[Android.Runtime.Register("UNICODE_CASE")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Util.Regex.RegexOptions enum directly instead of this field.", true)]
public const Java.Util.Regex.RegexOptions UnicodeCase = 64;
[<Android.Runtime.Register("UNICODE_CASE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Util.Regex.RegexOptions enum directly instead of this field.", true)>]
val mutable UnicodeCase : Java.Util.Regex.RegexOptions

字段值

Value = 64
属性

注解

启用 Unicode 感知大小写折叠。 此标志忽略 Android。 提供标志时 #CASE_INSENSITIVE ,始终以与 Unicode 标准一致的方式进行不区分大小写的匹配。

嵌入标志  (?u) 被忽略。

指定此标志可能会造成性能损失。

适用于 . 的 java.util.regex.Pattern.UNICODE_CASEJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于