Matcher.HasAnchoringBounds Property

Definition

Queries the anchoring of region bounds for this matcher.

public bool HasAnchoringBounds { [Android.Runtime.Register("hasAnchoringBounds", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasAnchoringBounds", "()Z", "")>]
member this.HasAnchoringBounds : bool

Property Value

true iff this matcher is using anchoring bounds, false otherwise.

Attributes

Remarks

Queries the anchoring of region bounds for this matcher.

This method returns true if this matcher uses anchoring bounds, false otherwise.

See #useAnchoringBounds(boolean) useAnchoringBounds for a description of anchoring bounds.

By default, a matcher uses anchoring region boundaries.

Added in 1.5.

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

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