View Single Post
Old 05-16-2009, 03:35 PM   #18
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Quote:
Originally Posted by JSWolf View Post
What happens if there is a missing quote?
Nothing - it doesn't get converted at all.

Quote:
Originally Posted by Jellby
The script should also identify apostrophes, in words like 'em, 'tis, and other transcriptions of spoken language (much too often one finds an opening quote in those cases instead).
My regexp does that, except in the case when the apostrophed word appears before the actual opening quote. (That is, it will work fine if 'em is inside quotes and will work fine if there are no quotes after 'em).
pepak is offline   Reply With Quote