I wish to ensure that a string contains the string */>* OR *</$* (or both)
and I have those two strings in a *single *field called "widgetclosure" i.e
widgetclosure: /> </$
How can I formulate a regexp to ensure some string includes any of those?
i.e
<$set name=closures filter="[{!!widgetclosure}escaperegexp[]]"
{{{ mystring +[regexp<closures>] }}}
I do not want to use additional *fields* but it would be fine to modify the
field *value* to, for example, read:
widgetclosure: />|</$
Ideally the field can contain an arbitrary number of strings (again,
possibly separated via some "regexp" character to make it work)
Thank you!
<:-)
--
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/aa374eb0-3782-47bd-9b38-86f6951ad72fo%40googlegroups.com.