Spread Windows Forms 18
FarPoint.Win Assembly / FarPoint.Win Namespace / StringSearch Class / Greedy Property


In This Topic
    Greedy Property
    In This Topic
    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".
    Syntax
    'Declaration
     
    
    Public Property Greedy As Boolean
    'Usage
     
    
    Dim instance As StringSearch
    Dim value As Boolean
     
    instance.Greedy = value
     
    value = instance.Greedy
    public bool Greedy {get; set;}
    See Also