Pattern.Multiline 欄位

定義

警告

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

啟用多行模式。

[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

欄位值

Value = 8
屬性

備註

啟用多行模式。

在多行模式下,表達$式和分別在^線終結符或輸入序列結束點之後或之前相匹配。 預設情況下,這些表達式僅在整個輸入序列的開頭與結尾匹配。

多線模式也可透過嵌入的旗標表達式(?m)啟用。

Java 文件 java.util.regex.Pattern.MULTILINE

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於