Matcher.HitEnd Method

Definition

Returns true if the end of input was hit by the search engine in the last match operation performed by this matcher.

[Android.Runtime.Register("hitEnd", "()Z", "")]
public bool HitEnd ();
[<Android.Runtime.Register("hitEnd", "()Z", "")>]
member this.HitEnd : unit -> bool

Returns

true iff the end of input was hit in the last match; false otherwise

Attributes

Remarks

Returns true if the end of input was hit by the search engine in the last match operation performed by this matcher.

When this method returns true, then it is possible that more input would have changed the result of the last search.

Added in 1.5.

Java documentation for java.util.regex.Matcher.hitEnd().

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