Hi Steve,

trying using just split instead of /split/gi
Under the covers, the value provided is being used as an operand to the 
filter operator splitregexp:
https://tiddlywiki.com/#splitregexp%20Operator

Hopefully this will help you better formulate your regular expression. I'll 
add some disambiguation to the docs about this when I get the chance. 

Do note that this split feature was born out of a need to get data quickly 
into Streams for testing purposes during its development. As such it is a 
relatively simple implementation. Streams mostly focuses on writing content 
and dividing it into tiddlers as you write.

For a richer solution for splitting existing content, perhaps have a look 
at Notowritey:
https://links.tiddlywiki.com/urls/83843a24db5f93e7248d/


On Saturday, June 26, 2021 at 11:41:18 AM UTC+2 SteveH wrote:

> Hi again,
>
> I've  changed the settings to try using a word per:
>
> Regular expression used to split text : /split/gi
>
> - unfortunately can't get this to work.
>
> Regards
> hsteve
>
>
>
> On Saturday, 26 June 2021 at 7:56:21 am UTC+10 SteveH wrote:
>
>> Thank you Saq and Si for your help. Much appreciated.
>>
>> On Friday, 25 June 2021 at 10:47:21 pm UTC+10 Si wrote:
>>
>>> Hi hsteve. There are two ways to split text:
>>>
>>> 1. If you are editing a node and press enter, the stream will be split 
>>> at the location of the caret/curser.
>>> 2. If you are editing a node and press alt+enter, the text will be split 
>>> at every place there is a new line.
>>>
>>> Note that /n/n is a regular expression that represents any new line. 
>>> It's not something you have to actually add to the text.
>>>
>>> On Friday, 25 June 2021 at 12:27:04 UTC+1 SteveH wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> A basic question relating to text splitting within a single long text 
>>>> tiddler.
>>>>
>>>> The plugin settings show 
>>>>
>>>>    - Regular expression used to split text = /n/n
>>>>    - Split text at caret position
>>>>
>>>> Inserting /n/n/ or a claret didn't seem to work .  
>>>>
>>>> Looking for help here.
>>>>
>>>> Regards
>>>>
>>>> hsteve
>>>>
>>>>
>>>>

-- 
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/a7470c66-6af3-4527-aa6e-6f85ec6fe08cn%40googlegroups.com.

Reply via email to