squirt icon indicating copy to clipboard operation
squirt copied to clipboard

Version numbers split into two words

Open dothebart opened this issue 11 years ago • 2 comments

reading http://www.heise.de/newsticker/meldung/Neuerungen-des-Linux-Kernels-3-15-jetzt-absehbar-2169318.html squird displays 3 15 which is irretating. I guess it should only split at dots followed by blanks?

dothebart avatar Apr 20 '14 06:04 dothebart

You are correct, sir! Thanks for filing.

On Sat, Apr 19, 2014 at 11:41 PM, Wilfried Goesgens < [email protected]> wrote:

reading http://www.heise.de/newsticker/meldung/Neuerungen-des-Linux-Kernels-3-15-jetzt-absehbar-2169318.htmlsquird displays 3 15 which is irretating. I guess it should only split at dots followed by blanks?

— Reply to this email directly or view it on GitHubhttps://github.com/cameron/squirt/issues/141 .

cameron avatar Apr 22 '14 00:04 cameron

This problem occurs with comma separated numbers and other abbreviations as well.

$3,000 Washington D.C. U.S.A.

A simple solution that might fix most cases would be to look ahead one character and concatenate if the next character is not a space.

JCoxwell avatar Apr 25 '14 16:04 JCoxwell