Exp RegexCompare Method Aerospike
Create expression that performs a regex match on a string bin or string value expression.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.0.0 (4.2.0)
Syntax

Parameters

regex
Type: System String
regular expression string
flags
Type: System UInt32
regular expression bit flags. See RegexFlag
bin
Type: Aerospike.Client Exp
string bin or string value expression
Examples

// Select string bin "a" that starts with "prefix" and ends with "suffix". 
// Ignore case and do not match newline.
Exp.RegexCompare("prefix.*suffix", RegexFlag.ICASE | RegexFlag.NEWLINE, Exp.StringBin("a"))
See Also