Sorry to say, but your solution is faulty as you will get hits on *any* 
title without a lowercase letter. Naming a Tiddler "???" for example will 
also appear in your list.

You should use:

value="^[A-Z]+$"

if you wish to capture all cap titles that may also end with exclamation 
points, do this:

value="^[A-Z]+[!]*$"

If you want all caps that may end with or without exclamation points or 
question marks, do this:

value="^[A-Z]+[!?]*$"

If you want those plus titles that are all question marks or exclamation 
points [like ??? or !!!! titles] do this:

(^[A-Z]+[!?]*$)|(^[!?]+$)

It is always better to capture what *you do want*, not to capture *everything 
but* with a few exceptions. Otherwise, you open the door open to let in 
things you hadn't thought of.

-Doug


On Friday, March 31, 2017 at 5:15:51 AM UTC-5, AlexHough wrote:
>
> Hello all,
>
> A set of tiddlers is formed by their titles being all upper case.
>
> INDEX
> GLOSSARY
>
> I could tag these, but I wondered about selecting them based on regex 
> filter. Using https://regex101.com/ I got this far 
>
>
> [image: Inline images 1]
>
> However when I put the term into TW's regex filter I get no return
>
>
> Here is a minimal test case : 
> https://alexhough.github.io/RegexAllCaps.html
>
> Any pointers most welcome
>
> Alex
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f53dd0fb-a186-4fda-a6ac-69e1165bbf03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to