Matcher.End Matcher.End Method

Definition

Overloads

End() End()

Returns the index of the first character following the text that matched the whole regular expression.

End(Int32) End(Int32)

Returns the index of the first character following the text that matched a given group.

End(String) End(String)

End() End()

Returns the index of the first character following the text that matched the whole regular expression.

[Android.Runtime.Register("end", "()I", "")]
public int End ();
abstract member End : unit -> int
override this.End : unit -> int

Returns

Implements

Exceptions

if no successful match has been made.

Remarks

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.

End(Int32) End(Int32)

Returns the index of the first character following the text that matched a given group.

[Android.Runtime.Register("end", "(I)I", "")]
public int End (int group);
abstract member End : int -> int
override this.End : int -> int

Parameters

group
Int32 Int32

the group, ranging from 0 to groupCount() - 1, with 0 representing the whole pattern.

Returns

Implements

Exceptions

if no successful match has been made.

Remarks

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.

End(String) End(String)

[Android.Runtime.Register("end", "(Ljava/lang/String;)I", "", ApiSince=26)]
public int End (string name);
member this.End : string -> int

Parameters

name
String String

Returns

Remarks

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