View Single Post
Old 12-21-2015, 02:37 AM   #149
Steadyhands
Connoisseur
Steadyhands began at the beginning.
 
Steadyhands's Avatar
 
Posts: 57
Karma: 10
Join Date: Dec 2011
Device: Samsung Tablet
Here is a few suggested additions to your truncated words list for the apostrophes in wrong direction. I also made two other small changes also to suit my perferences, I added the (?i) to ignore the case - this is to catch the instances where the first letter has been capitalised and I prefer to look for punctuation / space combination at the end
Code:
[ ]?‘(?i)(ad|at|appen|ard|ave|bout|bye|cause|cept|cos|cuz|couse|eard|em|er|e|ee|ell|fraid|fore|im|is|isself|gainst|less|mongst|neath|nough|nother|nuff|ome|ow|ope|oney|orse|puter|round|scuse|spect|scaped|sides|specially|tween|taint|til|tis|twas|twere|twould|twill|un)([\p{P}|\s])
Steadyhands is offline   Reply With Quote