語言

Pattern.Dotall 欄位

定義

警告

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

啟用 dotall 模式。

[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

欄位值

Value = 32
屬性

備註

啟用 dotall 模式。

在 dotall 模式下,該表達 . 式可匹配任何字元,包括行終結符。 預設情況下,此表達式與線終止子不匹配。

Dotall 模式也可透過嵌入的旗標表達式(?s)啟用。 (這是 s 「單行」模式的助記法,這在 Perl 中就是這麼稱呼的。)

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

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

適用於