DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
An interface that links with a Regex library. More...
Public Member Functions | |
bool | RegexMatch (string regularExpression, string expressionOps, string value) |
Matches a regular expression against a string value. More... | |
IList< int > | RegexSearch (Table table, int column, string regularExpression, string expressionOps) |
Performs a regular expression search on the given column of the table. More... | |
An interface that links with a Regex library.
This interface allows the database engine to use any regular expression library that this interface can be implemented for.
Definition at line 29 of file IRegexLibrary.cs.
bool Deveel.Data.Text.IRegexLibrary.RegexMatch | ( | string | regularExpression, |
string | expressionOps, | ||
string | value | ||
) |
Matches a regular expression against a string value.
regularExpression | The regular expression to match. |
expressionOps | The expression options string that specifies various flags. |
value | The string to test. |
Implemented in Deveel.Data.Text.SystemRegexLibrary.
IList<int> Deveel.Data.Text.IRegexLibrary.RegexSearch | ( | Table | table, |
int | column, | ||
string | regularExpression, | ||
string | expressionOps | ||
) |
Performs a regular expression search on the given column of the table.
table | The table to search for matching values. |
column | The column of the table to search for matching values. |
regularExpression | The expression to match (eg. "[0-9]+"). |
expressionOps | Expression operator string that specifies various flags. |
Implemented in Deveel.Data.Text.SystemRegexLibrary.