C# Class PanGu.Framework.Regex

Datei anzeigen Open project: xuld/AI-Robot

Public Methods

Method Description
GetMatch ( String text, String regx, bool ignoreCase ) : String
GetMatchStrings ( String text, String regx, bool ignoreCase, List &output ) : bool
GetMatchSum ( String text, String regx, bool ignoreCase ) : String
GetSingleMatchStrings ( String text, String regx, bool ignoreCase, List &output ) : bool
GetSplitWithoutFirstStrings ( String text, String regx, bool ignoreCase, ArrayList &output ) : bool
Replace ( String text, String regx, String newText, bool ignoreCase ) : String
Split ( String Src, String SplitStr ) : String[]
Split ( String Src, String SplitStr, System option ) : String[]

Method Details

GetMatch() public static method

public static GetMatch ( String text, String regx, bool ignoreCase ) : String
text String
regx String
ignoreCase bool
return String

GetMatchStrings() public static method

public static GetMatchStrings ( String text, String regx, bool ignoreCase, List &output ) : bool
text String
regx String
ignoreCase bool
output List
return bool

GetMatchSum() public static method

public static GetMatchSum ( String text, String regx, bool ignoreCase ) : String
text String
regx String
ignoreCase bool
return String

GetSingleMatchStrings() public static method

public static GetSingleMatchStrings ( String text, String regx, bool ignoreCase, List &output ) : bool
text String
regx String
ignoreCase bool
output List
return bool

GetSplitWithoutFirstStrings() public static method

public static GetSplitWithoutFirstStrings ( String text, String regx, bool ignoreCase, ArrayList &output ) : bool
text String
regx String
ignoreCase bool
output System.Collections.ArrayList
return bool

Replace() public static method

public static Replace ( String text, String regx, String newText, bool ignoreCase ) : String
text String
regx String
newText String
ignoreCase bool
return String

Split() public static method

public static Split ( String Src, String SplitStr ) : String[]
Src String
SplitStr String
return String[]

Split() public static method

public static Split ( String Src, String SplitStr, System option ) : String[]
Src String
SplitStr String
option System
return String[]