Login  Register

Re: [ENH] isSeparator

Posted by Christoph Thiede on May 06, 2021; 8:30pm
URL: https://forum.world.st/ENH-isSeparator-tp5129517p5129518.html

Hi all,


here is another tiny changeset, depending on isSeparator.cs: withAllBlanksTrimmed.cs uses the encoding-aware #isSeparator implementation to trim all kinds of spaces correctly from a string.


Best,
Christoph

Von: Squeak-dev <[hidden email]> im Auftrag von Thiede, Christoph
Gesendet: Donnerstag, 6. Mai 2021 22:27:57
An: [hidden email]
Betreff: [squeak-dev] [ENH] isSeparator
 
Hi all,

here is one tiny changeset for you: isSeparator.cs adds proper encoding-aware support for testing of separator chars. As opposed to the former implementation, non-ASCII characters such as the no-break space (U+00A0) will be identified correctly now, too.

Please review and merge! :-)

Best,
Christoph

["isSeparator.cs.gz"]



withAllBlanksTrimmed.1.cs (2K) Download Attachment
Carpe Squeak!