Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PathMatcher.BuildRegex Method

Helper method to convert a NAnt-like pattern into the appropriate pattern for a regular expression.

[Visual Basic]
Public Shared Sub BuildRegex( _
   ByVal pattern As String _
)
[C#]
public static string BuildRegex(
   string pattern
);

Parameters

pattern
The NAnt-like pattern.

Return Value

A regex-compatible pattern.

See Also

PathMatcher Class | Spring.Util Namespace