NAnt SDK Documentation - v0.92 |
|
RegexTask.Pattern Property
Represents the regular expression to be evalued.
[Visual Basic]
<StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null"), _
TaskAttribute(Required:=True, Name:="pattern", ExpandProperties:=True, ProcessXml:=True)>
Public Property Pattern As
String
[C#]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
[TaskAttribute(Required=True, Name="pattern", ExpandProperties=True, ProcessXml=True)]
public
string Pattern {get; set;}
Property Value
The regular expression to be evalued.
Remarks
The pattern must contain one or more named constructs, which may not contain any punctuation and cannot begin with a number.
See Also
RegexTask Class | NAnt.Core.Tasks Namespace