PN_LOCAL method

Parser PN_LOCAL()

Implementation

Parser PN_LOCAL() =>
    (ref0(PN_CHARS_U) | string(':') | pattern('0-9') | ref0(PLX)) &
    ((ref0(PN_CHARS) | pattern(':.') | ref0(PLX))
                .starGreedy(ref0(PN_CHARS) | string(':') | ref0(PLX)) &
            (ref0(PN_CHARS) | string(':') | ref0(PLX)))
        .repeat(0, 1);