hostlist-parser 0.1.6

Parses hostlist expressions into a Vec of Strings
Documentation
---
source: src/lib.rs
expression: "hostlists().easy_parse(\"hostname[2,6,7].iml.com,hostname[10,11-12,2-3,5].iml.com,hostname[15-17].iml.com\")"
---
Ok(
    (
        [
            [
                String(
                    "hostname",
                ),
                Range(
                    [
                        Disjoint(
                            [
                                (
                                    0,
                                    2,
                                ),
                                (
                                    0,
                                    6,
                                ),
                                (
                                    0,
                                    7,
                                ),
                            ],
                        ),
                    ],
                ),
                String(
                    ".iml.com",
                ),
            ],
            [
                String(
                    "hostname",
                ),
                Range(
                    [
                        Disjoint(
                            [
                                (
                                    0,
                                    10,
                                ),
                            ],
                        ),
                        Range(
                            0,
                            true,
                            11,
                            12,
                        ),
                        Range(
                            0,
                            true,
                            2,
                            3,
                        ),
                        Disjoint(
                            [
                                (
                                    0,
                                    5,
                                ),
                            ],
                        ),
                    ],
                ),
                String(
                    ".iml.com",
                ),
            ],
            [
                String(
                    "hostname",
                ),
                Range(
                    [
                        Range(
                            0,
                            true,
                            15,
                            17,
                        ),
                    ],
                ),
                String(
                    ".iml.com",
                ),
            ],
        ],
        "",
    ),
)