Skip to content

v0.1.3

Choose a tag to compare

@coghost coghost released this 28 Nov 06:32
· 8 commits to main since this release

add support for parse string to index range
The input string can contain:

  • Single numbers: "0", "-1" or "1, 2, -3"
  • Inclusive ranges using dash: "0-3", "-2-1" (equivalent to "-2,-1,0,1")
  • Exclusive ranges using tilde: "0~3", "-2~1" (equivalent to "-2,-1,0")
  • Combination of both: "-1, 3-7, -5~-2"