Hi!
Do you happen to know how we could do the same in VB.Net? Here is what i tried, i get an error on the line <SQLiteFunction(... for Name, Arguments and FuncType ex: Name "Arguments" is not defined
Thank you!
Imports System.Data.SQLite
<SQLiteFunction(Name = "REGEXP", Arguments = 2, FuncType = FunctionType.Scalar)> _
Public Class MyRegEx
Inherits SQLite.SQLiteFunction
Public Overrides Function Invoke(ByVal args() As Object) As Object
Return System.Text.RegularExpressions.Regex.IsMatch(Convert.ToString(args(1)), Convert.ToString(args(0)))
End Function
End Class