Quote:
Originally Posted by helour
Thanks, it works well  . BTW, I prefer this (more readable) form:
Code:
groups = re.split(ur'(.*?[\.\!\?\:\u2026][\'"\u2019\u201C\u201D]?\s*)',
text,
flags=re.UNICODE | re.MULTILINE)
|
Goo, and using the codes here is probably easier to understand.
Quote:
The book (in Czech language) with this end quotation mark u\201C wasn't downloaded from the Kobo store .
|
I wasn't expecting it to have come from Kobo. But, I was hoping you knew of a book in the store that used the same type of quotation. That way we could check that the way the plugin handles them is the same as the way Kobo does. Looking at free book or a preview should do. The problem is usually finding a suitable example.