Pattern.UnixLines 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 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 (?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.