Compartilhar via


Pattern.UnixLines Field

Definition

Caution

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

Enables Unix lines mode.

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

Field Value

Value = 1
Attributes

Remarks

Enables Unix lines mode.

In this mode, only the '\n' line terminator is recognized in the behavior of ., ^, and $.

Unix lines mode can also be enabled via the embedded flag expression&nbsp;(?d).

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

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