fd8dZddlmZddlZdedeeeeffdZy)zDNS GENERATE range conversion.)TupleNtextreturnc>d}d}d}d}d}|r'|ddk(rtjjd|D]h}|dk(r|dk(rt|}d}d}|dk(rt|}d}d}2|j r||z }Htjjd |z|dk(rtjjd |dk(r t|}n|dk(sJt|}|dk\sJ|dk\sJ||kDrtjjd |||fS) zConvert the text form of a range in a ``$GENERATE`` statement to an integer. *text*, a ``str``, the textual range in ``$GENERATE`` form. Returns a tuple of three ``int`` values ``(start, stop, step)``. r-z!Start cannot be a negative number/zCould not parse %szno stop value specifiedzstart must be <= stop)dns exception SyntaxErrorintisdigit)rstartstopstepcurstatecs S/var/lib/jenkins/workspace/mettalog/venv/lib/python3.12/site-packages/dns/grange.py from_textrs9 E D D C E Q3mm''(KLL  8 HECE #Xs8DCE YY[ 1HC--++,@A,FG G zmm''(ABB !3xzz3x 199 A:: t|mm''(?@@ 4 )__doc__typingrr strrrrrrs.$% /C/E#sC-0/r