View Single Post
Old 12-22-2015, 09:57 AM   #153
CalibUser
Addict
CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.
 
Posts: 203
Karma: 62362
Join Date: Jul 2015
Device: Sony
Plugin updated to version 2.0.0.5

The plugin has been updated in the first post in this thread as follows:
  • Plugin now checks for updates on the web and informs you if an update is available.
  • Plugin checks more words that are preceded by an apostrophe in the wrong direction eg ‘oney and the case of the word is ignored - with thanks to Steadyhands.
  • Some internal code has been simplified.

@Steadyhands:
Quote:
Originally Posted by Steadyhands View Post
[ ]?‘(?i)(\d\d|ad|at|appen[a-z]*|ard|ave|bout|bye|cause|cept|cos|cuz|couse|ere|ea rd|em|er|e|ee|ell|f|fraid|fore|id|ighness|im|is|is self|gainst|kay|less|mongst|n|nd|neath|nough|nothe r|nuff|ood|ome|ow|ope|oney|orse[a-z]*|puter[a-z]*|round|scuse|spect[a-z]*|scaped|sides|tween|specially|t|taint|til|tis|twa s|twere|twould|twill|ud|un|urt)([\p{P}|\s])
I have modified the end of your code slightly so that it can amend apostrophes that appear in front of words that are followed by punctuation marks, eg, commas and quote marks. For example, the code will now handle:

"We’ll be seeing ‘em, I said to ‘er"

I have replaced ([\p{P}|\s]) in your code with (\W?).
CalibUser is offline   Reply With Quote