PN_PREFIX method

Parser PN_PREFIX()

Implementation

Parser PN_PREFIX() =>
    ref0(PN_CHARS_BASE) &
    ((ref0(PN_CHARS) | string('.')).starGreedy(ref0(PN_CHARS)) &
            ref0(PN_CHARS))
        .repeat(0, 1);