Escaping the [] does the trick in the regular expression. I just gave it a
try and the macro that previously crashed the JavaScript engine now works
regexp : (\[A-Z\]+(?=\[0-9\]+))|(\[0-9\]+(?=\[A-Z\]+))
remains the <$set name="setref" ...> and <$vars varsref={{{ ... }}} >
unexplained. It is the <$vars varsref={{{ ... }}}> that fails.
Tried quoting the regexp, to no avail.
Tripple quoting the filter in <$set ..> has no influence.
Some how the global operator does not work in the <$var ..> setting of the
variable.
-hw
On Wednesday, March 3, 2021 at 12:42:32 AM UTC+1 Mat wrote:
> The comma is part of the search-replace filter operator syntax
>>
>
> That was *very *valuable for me to learn - thanx!
>
> <:-)
>
--
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/17dff1ca-a4ba-40b1-9a40-b57dfa01ff72n%40googlegroups.com.