Skip to content

v2.7.1

Compare
Choose a tag to compare
@odino odino released this 17 Apr 21:04
· 11 commits to master since this release

A fresh new patch release of ABS: always be shipping! 🚢

Allow string.split() to split according to any whitespace

This may have been considered a breaking change as it changes existing behavior, but given the current behavior can be considered a bug, we opted to do a minor release.

From now on, split's default separator will match any unicode whitespace.

Before:

> "hello world".split()
["hello", "world"]
> "hello\tworld".split()
["hello	world"] 

After:

> "hello world".split()
["hello", "world"]
> "hello\tworld".split()
["hello", "world"]