Pattern.

Extract(string, string) Method

Summary

Extracts the matches of this pattern from source.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks.Grep
Containing Type
Pattern

Syntax

public MatchCollection Extract(string filename, string source)

Parameters

Name Type Description
filename string The name of the file associated with source.
source string The source string

Return Value

Type Description
MatchCollection A collection of found matches.