Another correction. Currently it's not possible to use sets and ranges in
regexp filter, since they require another pair of square brackets. This,
for example, [regexp[[a-z]]] gives "Filter error: Syntax error in filter
expression".
On Tuesday, February 9, 2021 at 5:47:01 AM UTC-8 RA wrote:
> I deleted a couple of my messages as they had a very wrong filter
> suggestion. Unfortunately, one of them was quoted by another person, so the
> filter is still visible. Please don't use it. Use something like this one
> instead: [regexp[\.[A-Za-z0-9_-]{1,5}]split[.]last[]addprefix[.]]
>
>
> On Sunday, February 7, 2021 at 8:56:20 PM UTC-8 RA wrote:
>
>> @Mark, here's what happened when I edited and saved `myscript.sql`. Does
>> it work for you with the release version? I'm running latest as of
>> yesterday. I'll try rolling it back to release.
>>
>> [image: 00037044.png]
>>
>>
>> On Sunday, February 7, 2021 at 7:28:56 PM UTC-8 Mark S. wrote:
>>
>>> So, it turns out that I did need the $:/config/FileSystemExtensions
>>> <https://tiddlywiki.com/#%24%3A%2Fconfig%2FFileSystemExtensions> tiddler
>>> in order to prevent TW from assigning the ".txt" extension. This may be
>>> because I used text/plain, since TW doesn't know about text/sql. When
>>> importing the tiddlers I used tag "sql" and then added this to the
>>> extensions tiddler:
>>>
>>> [tag[sql]then[.sql]
>>>
>>> In the attached, zip open some place. Go into directory Wikis and run
>>>
>>> tiddlywiki test2 --listen port=8090
>>>
>>> (or whatever port you want). You should be able to edit myscript.sql and
>>> see it changed on the drive.
>>>
>>> Looking at your prior post, it looks like you have tiddlywiki.files
>>> inside of scripts/t-sql . As far as I could tell, the tiddlywiki.files file
>>> would not work anywhere except below "tiddlers/". But this shouldn't be a
>>> problem, because it's the actual sql files you care about, and not the
>>> configuration of TW.
>>>
>>> On Sunday, February 7, 2021 at 6:20:44 PM UTC-8 RA wrote:
>>>
>>>> @Mark, so you have it working with 5.1.23? Are you able to zip it up
>>>> and share here?
>>>>
>>>>
>>>>>
>>>>>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2806b5e9-ccd5-4760-9a05-e801d37c3e5dn%40googlegroups.com.