Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite.Internal.Linq
LinqExtensionMethods Class
LinqExtensionMethods Methods
AnyAndEvery(T) Method
Between Method
IsRegexMatch Method
LinqExtensionMethods
IsRegexMatch Method
Returns whether or not the given
String
matches a given regular expression
Namespace:
Couchbase.Lite.Internal.Linq
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
Copy
public
static
bool
IsRegexMatch
(
this
string
item
,
string
pattern
)
Parameters
item
Type:
System
String
The
String
to test (implicit)
pattern
Type:
System
String
The pattern to test against
Return Value
Type:
Boolean
true
if the
String
matches,
false
otherwise
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
LinqExtensionMethods Class
Couchbase.Lite.Internal.Linq Namespace