nalgeon / sqlean

The ultimate set of SQLite extensions
MIT License
3.65k stars 115 forks source link

Regexp lookbehind assertions fail with seemingly incorrect error #104

Closed hacatu closed 7 months ago

hacatu commented 9 months ago

Any call to regexp_substr with a lookbehind assertion, even a simple SELECT regexp_substr('abc5xyz', '(?<=\D*)\d') fails with Runtime error: out of memory (7). I assume this is simply because lookbehind isn't supported or I used the wrong syntax, but the error is not clear

nalgeon commented 7 months ago

Thanks for reporting! Only fixed-length lookbehinds are supported. Error messaging fixed in 0.21.10.