I left spaces out of my examples. So all caps with spaces is: value="^[A-Z\s]+$"
If you will also accept ? or !, but only at the end, then do this: value="^[A-Z\s]+[!?]*$" If you had a tiddler titled "RELEASE 5.0.181-BETA", your current RegEx would have captured that too. "33333" would also have been captured. Examples like these are why you want to capture specifically what you are looking for. -Doug On Wednesday, April 5, 2017 at 3:10:07 AM UTC-5, Douglas Counts wrote: > > 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/53d4808c-37e1-4916-aab4-e942294b67af%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.