![]() |
#1 |
Morlock
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34
Karma: 2734796
Join Date: Oct 2021
Device: Kindle Paperwhite
|
Indexerror: No such group
Happy New Year
![]() I have a poorly converted book that has a lot of 0's that were scanned as o's, but, Regex should help me find and fix those. Trying the search term of (\d)o and the replace term of \10 resulted in the above error, which on the face of it is correct. Not what I wanted but correct all the same. So the question is, just how do I rephrase the replace term so that it knows that I want to replace group 1 and not group 10? |
![]() |
![]() |
![]() |
#2 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 516
Karma: 2268308
Join Date: Nov 2015
Device: none
|
Use
Code:
\x30 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Morlock
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34
Karma: 2734796
Join Date: Oct 2021
Device: Kindle Paperwhite
|
Thanks. Works great.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre help? IndexError: list index out of range | ideamutt | Editor | 5 | 01-08-2025 02:26 PM |
calibredb add: IndexError: list index out of range | sws | Library Management | 4 | 03-28-2015 01:25 AM |
IndexError in ebook viewer | Section8 | Library Management | 2 | 10-30-2014 07:51 AM |
Conversion error IndexError: list index out of range | trebor6691 | Conversion | 4 | 02-20-2014 12:13 AM |
Unutterably Silly The Non-Support Group for People Who Don't Have/Want a Support Group Non-Group | recluse | Lounge | 7 | 11-23-2010 02:15 AM |