digital-fabric / extralite

Ruby on SQLite
http://www.rubydoc.info/gems/extralite
MIT License
255 stars 8 forks source link

add cached regexp support (WIP) #56

Closed paddor closed 10 months ago

paddor commented 10 months ago

This PR is not ready yet. Extralite::Database#create_function needs to be added first.

noteflakes commented 10 months ago

Extralite does not and will not support a #create_function functionality for creating functions in Ruby (see also #57).

A solution would be to reimplement #complex_expression_sql_append to use the regexp extension instead. Please feel free to submit another PR for this.