New RegExp (gb.pcre)

Dim hRegExp As RegExp
hRegExp = New RegExp ( [ Subject As String, Pattern As String, CompileOptions As Integer, ExecOptions As Integer ] )

Creates a new RegExp object, and optionally compiles a regular expression and matches it against some subject text.

Examples

DIM re as Regexp

re = NEW Regexp("The quick brown fox slyly jumped over the lazy dog", "brown (\\S+)")