In Julia 1.7.1, SQLite.jl 1.3.0:
julia> db = SQLite.DB()
SQLite.DB(":memory:")
julia> SQLite.@register db SQLite.regexp
ERROR: cfunction: closures are not supported on this platform
Stacktrace:
[1] register(db::SQLite.DB, func::Function; nargs::Int64, name::String, isdeterm::Bool)
@ SQLite ~/.julia/packages/SQLite/5DdLp/src/UDF.jl:216
[2] register(db::SQLite.DB, func::Function)
@ SQLite ~/.julia/packages/SQLite/5DdLp/src/UDF.jl:209
[3] top-level scope
@ REPL[11]:1