za3k / buttbot

Automatically exported from code.google.com/p/buttbot
1 stars 0 forks source link

Ignores punctuation #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Buttification does not preserve punctuation.

Simple fix would be to in when buttify count punctuation to either side of 
word with a regex, and use left and right controls to TeX::Hyphen to 
ignore them.

Still unsure what to do about words with punctuation midway through. It's 
hard to split on things and preserve them at the same time.

Original issue reported on code.google.com by thomas.figg on 11 Dec 2007 at 4:43

GoogleCodeExporter commented 8 years ago
akalin added fix, strips leading and trailing non letters before buttifying.

Original comment by thomas.figg on 12 Dec 2007 at 12:14

GoogleCodeExporter commented 8 years ago

Original comment by thomas.figg on 12 Dec 2007 at 12:15