Android Guides | Samples

Android.OS.Pattern Enumeration

Enumerates values returned by several types and taken as a parameter of several types.

Syntax

public enum Pattern

Remarks

Members

Member NameDescription
LiteralPattern type: the given pattern must exactly match the string it is tested against.
PrefixPattern type: the given pattern must match the beginning of the string it is tested against.
SimpleGlobPattern type: the given pattern is interpreted with a simple glob syntax for matching against the string it is tested against. In this syntax, you can use the '*' character to match against zero or more occurrences of the character immediately before. If the character before it is '.' it will match any character. The character '\' can be used as an escape. This essentially provides only the '*' wildcard part of a normal regexp.

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.OS.Pattern are listed below.

See Also: Enum

Public Fields

LiteralPattern. Pattern type: the given pattern must exactly match the string it is tested against.
PrefixPattern. Pattern type: the given pattern must match the beginning of the string it is tested against.
SimpleGlobPattern. Pattern type: the given pattern is interpreted with a simple glob syntax for matching against the string it is tested against. In this syntax, you can use the '*' character to match against zero or more occurrences of the character immediately before. If the character before it is '.' it will match any character. The character '\' can be used as an escape. This essentially provides only the '*' wildcard part of a normal regexp.