SQL Editor? Reg Expressions
Quote from Tricia Aanderud on 2024-06-17, 4:30 pmI was really excited to see the scripts to tackled Newspapers.com in the sources, since I suffer from the same issue.
I am using DB Browser to run code - but it doesn't seem to support regular expressions.
I don't know what to do. Is there a preferred editor?
I was really excited to see the scripts to tackled Newspapers.com in the sources, since I suffer from the same issue.
I am using DB Browser to run code - but it doesn't seem to support regular expressions.
I don't know what to do. Is there a preferred editor?
Quote from Tom Holden on 2024-06-17, 9:05 pmAre you referring to the scripts under Sources - Newspapers.com - Cleaner Footnotes and Simpler Bibliography?
If so, then you will note the statement in the preamble of the script:
Developed and tested on SQLiteSpy v1.9.16 Win64.
A further reference on regular expressions with sqlite is:
- https://sqlitetoolsforrootsmagic.com/forum/topic/regular-expressions-in-sql-select-update-for-sqlite/
You will see that the required REGEXP_REPLACE() function is an extension to the core sqlite so it is not necessarily available in a sqlite manager out-of-the-box. However, your manager might be able to load an extension to add the function.
Are you referring to the scripts under Sources - Newspapers.com - Cleaner Footnotes and Simpler Bibliography?
If so, then you will note the statement in the preamble of the script:
Developed and tested on SQLiteSpy v1.9.16 Win64.
A further reference on regular expressions with sqlite is:
You will see that the required REGEXP_REPLACE() function is an extension to the core sqlite so it is not necessarily available in a sqlite manager out-of-the-box. However, your manager might be able to load an extension to add the function.
Quote from Tricia Aanderud on 2024-06-18, 5:19 amThanks Tom.
I'm more familiar with MySQL. Your post cleared up some misconceptions I had.
Are there any other extensions (outside of the one for the RMNOCase) that I should seek?
Thanks Tom.
I'm more familiar with MySQL. Your post cleared up some misconceptions I had.
Are there any other extensions (outside of the one for the RMNOCase) that I should seek?
Quote from Tom Holden on 2024-06-18, 7:32 amHave a look at In Praise of SQLite and follow the link to sqlean for a selection of extensions, some of which might be useful to you.
Have a look at In Praise of SQLite and follow the link to sqlean for a selection of extensions, some of which might be useful to you.