|
|
#1 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 31650
Join Date: May 2011
Location: Asuncion (Paraguay)
Device: In the house, 3 K3 in use, 4 more in storage, and a K5 for testing
|
“bogus escape error” in regex
Wanting to remove the parenthesis around the final text between parenthesis at the end of book titles, I tried to replace (.*) \((.*)\)$ with \1 \2 and got the ominous warning:“bogus escape error”
Seem python does not like having the laxt regex character escaped. But I found a simple bodge to get around the problem. First step, in Character match, replace ) with )X Then in Regular expression replace (.*) \((.*)\)X$ with \1 \2 Worked a treat. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bogus error in save template from custom column | rbroberts | Library Management | 4 | 04-18-2014 05:54 AM |
| PDF -> HTML produces bogus PNG's | prcek | Conversion | 4 | 03-29-2012 08:34 PM |
| Help: bogus database name! is this really a PalmOS file? | newConverter | Amazon Kindle | 3 | 06-14-2010 11:49 AM |
| Bogus ads? | Elsi | Feedback | 6 | 01-15-2009 06:18 AM |