Pattern.CaseInsensitive Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Java.Util.Regex.RegexOptions enum directly instead of this field.
Enables case-insensitive matching.
[Android.Runtime.Register("CASE_INSENSITIVE")]
[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 CaseInsensitive = 2;
[<Android.Runtime.Register("CASE_INSENSITIVE")>]
[<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 CaseInsensitive : Java.Util.Regex.RegexOptions
Field Value
Value = 2- Attributes
Remarks
Enables case-insensitive matching.
Case-insensitive matching is Unicode-aware on Android.
Case-insensitive matching can also be enabled via the embedded flag expression (?i)
.
Specifying this flag may impose a slight performance penalty.
Java documentation for java.util.regex.Pattern.CASE_INSENSITIVE
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.