Mat could you please try this ... <option value="@@(\s|\S)+?@@">Match between "@@" pairs</option>
and let me know if it works. TT On Saturday, 24 August 2019 20:08:59 UTC+2, Mat wrote: > > @TiddlyTweeter wrote: >> >> >> <option value="@@(.+?)@@">Match between "@@" pairs</option> >> >> The *"+?"* is to make the match "lazy" so it won't extend beyond the >> second @@ to a third pair of @@. >> The content between them is passed to a "capturing group". >> > > Thank you - but: > > If the match needs to span lines regex settings may need tweaking. >> > > In deed, this common case is not found AFAICT: > > @@.mystyle > foo bar > @@ > > <:-) > -- 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/7ebd6989-1310-495a-9a8c-b3b352b180f5%40googlegroups.com.

