Compartilhar via


Matcher.Reset Method

Definition

Overloads

Reset(String)

Resets this matcher with a new input sequence.

Reset(ICharSequence)

Resets this matcher with a new input sequence.

Reset()

Resets this matcher.

Reset(String)

Resets this matcher with a new input sequence.

public Java.Util.Regex.Matcher Reset (string input);
member this.Reset : string -> Java.Util.Regex.Matcher

Parameters

input
String

The new input character sequence

Returns

This matcher

Remarks

Resets this matcher with a new input sequence.

Resetting a matcher discards all of its explicit state information and sets its append position to zero. The matcher's region is set to the default region, which is its entire character sequence. The anchoring and transparency of this matcher's region boundaries are unaffected.

Java documentation for java.util.regex.Matcher.reset(java.lang.CharSequence).

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

Reset(ICharSequence)

Resets this matcher with a new input sequence.

[Android.Runtime.Register("reset", "(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;", "")]
public Java.Util.Regex.Matcher Reset (Java.Lang.ICharSequence input);
[<Android.Runtime.Register("reset", "(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;", "")>]
member this.Reset : Java.Lang.ICharSequence -> Java.Util.Regex.Matcher

Parameters

input
ICharSequence

The new input character sequence

Returns

This matcher

Attributes

Remarks

Resets this matcher with a new input sequence.

Resetting a matcher discards all of its explicit state information and sets its append position to zero. The matcher's region is set to the default region, which is its entire character sequence. The anchoring and transparency of this matcher's region boundaries are unaffected.

Java documentation for java.util.regex.Matcher.reset(java.lang.CharSequence).

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

Reset()

Resets this matcher.

[Android.Runtime.Register("reset", "()Ljava/util/regex/Matcher;", "")]
public Java.Util.Regex.Matcher Reset ();
[<Android.Runtime.Register("reset", "()Ljava/util/regex/Matcher;", "")>]
member this.Reset : unit -> Java.Util.Regex.Matcher

Returns

This matcher

Attributes

Remarks

Resets this matcher.

Resetting a matcher discards all of its explicit state information and sets its append position to zero. The matcher's region is set to the default region, which is its entire character sequence. The anchoring and transparency of this matcher's region boundaries are unaffected.

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

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