Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 09:20 AM   #1
peach
Junior Member
peach began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2026
Device: xteink x3
need help with regex problem

i love using the e-reader xteink because how small and light it is. however it doesn't recognize as many font types as other e-readers like kindle or kobo so for some time already i've been using the regex option in calibre to replace the cursive text from <span class="italic">.*?</span> into <i>\1</i> but for whatever reason when i try to replace it now i get an error window saying IndexError:no such group

i've been searching how to fix this problem or an alternative i can use instead of \1 but can't find anything so i'm hoping someone here can help
peach is online now   Reply With Quote
Old Today, 09:25 AM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,967
Karma: 154365289
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Cursive text? I don't know any program that uses cursive text. Kobo doesn't do cursive in CSS without an embedded font.

Can you please show the HTML/CSS code so we can see what it is you are trying to do?
JSWolf is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with .* in regex search jwes Sigil 11 06-24-2025 06:32 PM
Odd regex problem jwes Sigil 5 11-17-2023 09:27 PM
Regex problem John2011 Sigil 8 01-21-2014 03:12 AM
Regex F&R problem? Jabby Sigil 6 06-12-2012 05:18 AM
Regex Problem huebi Sigil 3 05-10-2011 05:32 AM


All times are GMT -4. The time now is 09:43 AM.


MobileRead.com is a privately owned, operated and funded community.