06-20-2017, 01:35 PM | #1 |
Age improves with wine.
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Search & Replace changes in 3.0
I notice that as of 3.0, if I select some text and press ctrl-F, what appears in the search box now has all the spaces quoted using backslashes. This is really ugly, and if I want to edit the search it makes it much harder to figure out what's going on. There isn't any reason to quote spaces in a RE, so please can we have the old 2.x behaviour back?
|
06-20-2017, 01:45 PM | #2 |
creator of calibre
Posts: 43,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This doesn't have anything to do with 3.0. Escaping is done by the regex module. 3.0 contains an updated version of that module (because it fixes some bugs). This is the change in in the regex module that causes it:
https://bitbucket.org/mrabarnett/mra...62cd288c7a4910 You can try opening an issue there and asking for a flag to not escape spaces. |
Advert | |
|
06-20-2017, 01:54 PM | #3 |
creator of calibre
Posts: 43,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
06-21-2017, 04:03 AM | #4 | |
Age improves with wine.
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
|
|
06-21-2017, 04:04 AM | #5 | |
Age improves with wine.
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
|
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regex in search problems (NOT Search&Replace; the search bar) | lairdb | Calibre | 3 | 03-15-2017 07:10 PM |
Search & Replace Help | paulfiera | Conversion | 7 | 08-06-2015 03:52 AM |
Search & Replace | Scott Nielsen | Sigil | 4 | 10-29-2013 12:10 PM |
Search & Replace :help: | krussell | Calibre | 3 | 08-02-2011 04:45 PM |
Search & Replace | Pat Nickholds | Sigil | 2 | 10-21-2010 11:18 PM |