hostlist-parser 0.1.0

Parses hostlist expressions into a Vec of Strings
Documentation
---
source: src/lib.rs
expression: "range().easy_parse(\"[1,2,3-5,6,7,8-10]\")"
---
Ok(
    (
        [
            Disjoint(
                [
                    1,
                    2,
                ],
            ),
            Range(
                0,
                3,
                5,
            ),
            Disjoint(
                [
                    6,
                    7,
                ],
            ),
            Range(
                0,
                8,
                10,
            ),
        ],
        "",
    ),
)