> Looks like the DBD::SQLite module registers a 'regexp' function that
> just uses Perl regexps. So as long as that is a valid Perl RE it should
> be Ok.
>
> Was going to try it in the command line client, but looks like that
> might not work. A bit of googling suggested there was an extension to
> sqlite that handled Perl REs, so will have a look at that.
SQLiteStudio has built-in support for regexp (https://sqlitestudio.pl).
And my regex almost did work. I'm going to edit it (needs a '$' matcher
at the end). SQLiteStudio didn't need to escape the slash ("[^\/]"). I'm not sure
about DBI. Give it a try, and change to just "[^/]" if it doesn't work.
> just uses Perl regexps. So as long as that is a valid Perl RE it should
> be Ok.
>
> Was going to try it in the command line client, but looks like that
> might not work. A bit of googling suggested there was an extension to
> sqlite that handled Perl REs, so will have a look at that.
SQLiteStudio has built-in support for regexp (https://sqlitestudio.pl).
And my regex almost did work. I'm going to edit it (needs a '$' matcher
at the end). SQLiteStudio didn't need to escape the slash ("[^\/]"). I'm not sure
about DBI. Give it a try, and change to just "[^/]" if it doesn't work.
Comment