View Single Post
Old 09-20-2010, 06:44 PM   #14
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Glad to hear it's working better for you.

That scenario isn't covered on purpose. That's because if the line happens to break on the quote you can't create a simple regex that can differentiate between these two scenarios:

Quote:
'That was nearly perfect ldolse.'
he said.
and:
Quote:
He said 'That was nearly perfect ldolse.'
This is the start of a new paragraph.
I've been thinking to add an enhancement to preprocessing where the user can specify that there is a blank line between every paragraph, or that most/every paragraph is indented, so that at least this scenario can be covered when when the document provides that much differentiation.

Last edited by ldolse; 09-20-2010 at 06:49 PM.
ldolse is offline   Reply With Quote