I\'d like to use a regular expression in sqlite, but I don\'t know how.
My table has got a column with strings like this: \"3,12,13,14,19,28,32\" Now if I type \"whe
for rails
db = ActiveRecord::Base.connection.raw_connection db.create_function('regexp', 2) do |func, pattern, expression| func.result = expression.to_s.match(Regexp.new(pattern.to_s, Regexp::IGNORECASE)) ? 1 : 0 end