View Single Post
Old 07-01-2020, 07:43 PM   #5
Rellwood
Library Breeder (She/Her)
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 1,269
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
Quote:
Originally Posted by chaley View Post
Why not? You can match tags with a leading period with the regexp
Code:
^\.
It isn't clear what you want to do with these tags so I can't go beyond the search pattern.

Depending on how many there are of these you might find it faster to change them in "Manage tags" (right click on Tags in the tag browser)
There are not a lot of these tags, but enough that I didn't want to go about manually deleting those leading periods. They are simply book tags and nothing else. I have them in heirarchal form and for whatever reason I noticed that was getting some that had dropped the parent tag, leaving only the period.

I didn't want to do anything else but fix them so the period was gone.

Thanks for the code. It was just what I was looking for.
Rellwood is offline   Reply With Quote