View Single Post
Old 06-19-2011, 10:34 AM   #10
CWatkinsNash
IOC Chief Archivist
CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.CWatkinsNash ought to be getting tired of karma fortunes by now.
 
CWatkinsNash's Avatar
 
Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
Quote:
Originally Posted by Gary_M_Mugford View Post
I did have to make a scripting change.
My GENRE column now has this script:
{#tagsgm:re( *(.[^\,]?)[^\,]*?(\,|$),\1\2)}
NOTE: #tagsgm replaces tags

My Plugboard for my Kindle2 (actually 3) shows:
[{#readrank:ifempty(0)}{#genre:ifempty(SF)}] {#stripped_series:lookup(.\s,#initials,.,#shortene d,series)}{series_index:|-|-}{title}
I can translate the plugboard, but what does the
Code:
{#tagsgm:re( *(.[^\,]?)[^\,]*?(\,|$),\1\2)}
do in the Genre column?

(I'm a bit of a regex beginner, so I know most of individual elements of that script, I just don't know what it's doing as a whole. I'm trying to learn. )
CWatkinsNash is offline   Reply With Quote