View Single Post
Old 03-15-2025, 09:02 AM   #816
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,663
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I've got a doubt. I'm not very good with regular expressions, so I'm using this template for checking if there are non-ascii characters in a title:
Code:
program:
	title=field('title');
	aux=transliterate(title);
	if (title!=aux)
	then
		'true'
	else
		'false'
	fi
The template is returning true if there is a 'é' in the title, so it's fine. However, I'm using it as advanced rule for adding an icon to a column and the icon is not appearing. Is there is any issue with the template, the advanced rule, my way of doing it? I'm using calibre 7.23 (all the following versions have a mistake that affects my way of working) and windows 10 64 bits.
Terisa de morgan is offline   Reply With Quote