if you test this ...
*^(([^/]+?)/){0}[^/]+?$*
You will see only titles without any preceding "/" slash using "*{0}*".
The combination of negated classes, *[^...]* with exact match numbers *{n},
*is often very useful.
TT
On Thursday, 5 September 2019 13:35:50 UTC+2, @TiddlyTweeter wrote:
>
> *Advanced use of the Negated Character Class*
>
> *Match titles with defined numbers of "/" slash*
> *^(([^/]+?)/){1}[^/]+?$*
>
> The difference here is in *{1}*
>
> If you change the number then it will change the number of "/" permitted
> in the match.
>
> You can test it at:
> http://tw-regexp.tiddlyspot.com/#RegExp%20Experimentation%20with%20Title
>
> TT
>
--
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/07b7763c-78a7-4fa3-9785-b53e2487fb1e%40googlegroups.com.