natcmp 1.3.3

Compare strings in a human-natural way.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Natcmp

Coverage Status GitHub tag

Natcmp is a library for comparing strings and paths in a way more familiar to humans.

For a list of strings like [a, 100, 10, b, 2], sorting ASCIIbetically would produce the unexpected ordering of [10, 100, 2, a, b]. A human would expect an ordering more like [2, 10, 100, a, b]. This library provides the means to sort and compare strings in such a fashion.

Documentation

Authors:
  • Cameron "Herringway" Ross
Dependencies:
none
Versions:
1.3.3 2022-Oct-25
1.3.2 2016-Nov-05
1.3.1 2016-Feb-19
1.3.0 2016-Jan-23
1.2.3 2015-Aug-26
Show all 9 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 3 downloads this month

  • 2213 downloads total

Score:
1.0
Short URL:
natcmp.dub.pm