![]() |
#1 |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
Differences between books - Markings (2)
![]() Prelude Maybe I lack the necessary working routine. Anyway, the new example seems me the more likely to be not smart, but colorful - and confusing! Searching done Replaced 329 occurences of [0-9]+</p>\s+<p class="calibre2"> Differences between books I consider (left side) only the characters which get eliminate, so 7</p> and <p class="calibre2"> should be highlighted in red. Consequently, the yellow highlightings (right side) would be superfluous. EDIT Without (much) words! Differences between books (red/green) Differences between books (only red) That looks smart. For me! However, the display is insofar incorrect: It should not get eliminated <p class="calibre2">9</p> but 9</p>*blanc spaces*<p class="calibre2"> - even the result is the same (correct). Interna: Bedürftig (AHdAb) Last edited by chaot; 06-03-2016 at 06:29 AM. Reason: add interna, add EDIT, minor correction |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,341
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sigh. I suggest you go read up on how diffing algorithms work. Google patience diff algorithm. No diffing algorithm can ever match what you think has "changed" in all situations. There are literally infinite ways to go from document A to document B. Any diffing algorithm simply has to guess which of those ways was actually used. Every diffing algorithm will get it wrong from time to time.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
IMHO that is actually the correct way anyway.
The code tags are part of the changes, are they not? |
![]() |
![]() |
![]() |
#4 | |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
Quote:
![]() There are 3 different forms of presentation of the workup of a regex in the same book. Since one can hardly speak of the correct way anyway. The benevolent readiness with alleged (or supposed) conspicuousnesses, by me gladly referred to as inconsistencies, I take for granted for all those involved. I will get in touch with you again about that topic (presentation of changes in Differences of books). "Good things can become even better." Last edited by chaot; 06-03-2016 at 06:47 AM. Reason: correct statement |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Edit Book: Inconsistency in Differences between books | chaot | Editor | 8 | 06-02-2016 11:07 AM |
HDX differences between doc and books backgrounds | stumped | Kindle Fire | 1 | 06-01-2016 04:05 AM |
Differences between books - Markings | chaot | Editor | 6 | 05-26-2016 11:19 AM |
Differences between books - Color of markers | chaot | Calibre | 4 | 05-19-2016 01:09 PM |
[Differences between books] Running clock, although result exist | chaot | Editor | 3 | 10-29-2015 01:06 PM |