|
|
#1 |
|
Junior Member
![]() 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 |
|
|
|
|
|
#2 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
|
|
|
| Advert | |
|
|
![]() |
|
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 |