[]
        
(Showing Draft Content)

FarPoint.Win.StringSearch

StringSearch Class

Represents the string search capabilities using regular expressions.

Inheritance
StringSearch
Namespace: FarPoint.Win
Assembly: FarPoint.Win.dll
Syntax
public class StringSearch
Public Class StringSearch

Constructors

Name Description
StringSearch()

Creates a new string search.

StringSearch(string)

Creates a new string search with the specified search pattern.

Properties

Name Description
Greedy

Gets or sets whether the regular expression should do a greedy search. A non-Greedy search on the string "FarPoint Technologies" with the pattern "F*o" would return "FarPo". A Greedy search of the same string would return "FarPoint Techno".

MatchExact

Gets or sets whether the match must be exact. An exact match is a string that is delimited at the beginning and end by either whitespace or end of line. Note: This property does not have any affect on the search pattern if the pattern was set using the RegularExpressionPattern property.

MatchIndex

Gets the index of the first character in the matched substring

MatchLength

Gets the length of the matched substring

MatchString

Gets the matched substring

RegularExpressionPattern

Gets or sets the regular expression pattern to use for the search.

SearchPattern

Sets the search pattern. Note: This is not a regular expression pattern.

Methods

Name Description
Find(string, int)

Searches the value string, starting at a specified index, for a character sequence that matches the provided pattern.