Udostępnij za pośrednictwem


Pattern.Dotall Field

Definition

Caution

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

Enables dotall mode.

[Android.Runtime.Register("DOTALL")]
[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 Dotall = 32;
[<Android.Runtime.Register("DOTALL")>]
[<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 Dotall : Java.Util.Regex.RegexOptions

Field Value

Value = 32
Attributes

Remarks

Enables dotall mode.

In dotall mode, the expression . matches any character, including a line terminator. By default this expression does not match line terminators.

Dotall mode can also be enabled via the embedded flag expression&nbsp;(?s). (The s is a mnemonic for "single-line" mode, which is what this is called in Perl.)

Java documentation for java.util.regex.Pattern.DOTALL.

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.

Applies to