search and find end of lines, and tab characters

36 views
Skip to first unread message

Mohammad

unread,
Aug 22, 2019, 8:04:27 AM8/22/19
to TiddlyWiki
How a simple filter in TW 5.1.20 or older can find and list all end-of lines (so counts number of lines) in a tiddler?

Please use only core feature specially from TW 5.1.20.

--Mohammad

Mark S.

unread,
Aug 22, 2019, 10:31:02 AM8/22/19
to TiddlyWiki
<$list filter="[{test}splitregexp[\n]addprefix[a]count[]]" />

Is \n universal on all browsers? Not sure. Probably, since it's all js.

Mohammad

unread,
Aug 22, 2019, 10:41:34 AM8/22/19
to TiddlyWiki
Thanks Mark!

Yes browser support is a problem!

--Moammad
Reply all
Reply to author
Forward
0 new messages