Pattern Class

Summary

Encapsulation of a search pattern.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks.Grep
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Pattern"] class Type type-node

Syntax

public class Pattern

Constructors

Name Summary
Pattern(string) Initializes a new instance of the NAnt.Contrib.Tasks.Grep.Pattern class from a regular-expression.

Methods

Name Value Summary
Extract(string, string) MatchCollection
Extracts the matches of this pattern from source.