次の方法で共有


Pattern.Multiline Field

Definition

Caution

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

Enables multiline mode.

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

Field Value

Value = 8
Attributes

Remarks

Enables multiline mode.

In multiline mode the expressions ^ and $ match just after or just before, respectively, a line terminator or the end of the input sequence. By default these expressions only match at the beginning and the end of the entire input sequence.

Multiline mode can also be enabled via the embedded flag expression&nbsp;(?m).

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

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