§
    ,P„jM9  ã                   óŠ  — d Z ddlZddlmZ dZdZdZdZ ed	¦  «        Z	d
„ Z
d„ Zd„ Zd„ Zd„ Z G d„ d¦  «        Zd„ Z G d„ de¦  «        Z G d„ de¦  «        Z e¦   «         Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z e¦   «         Zd e_         d!e_        d"„ Zd#„ Zd$„ Zd%„ Z ed&¦  «        Zd'e_         d(e_        d4d)„Z d*„ Z!d+„ Z"d,„ Z#d-„ Z$ ee¦  «        Z%d.e%_         d/e%_         ee¦  «        Z&d0e&_         d1e&_         ee¦  «        Z'd2e'_         d3e'_        dS )5z.
Python Lexical Analyser

Regular Expressions
é    Né   )ÚErrorsiÿÿÿÚbolÚeolÚeofú
c                 ó¬  — t          | ¦  «        }|                     ¦   «          d}t          |¦  «        }g }||k     r—t          ||         ¦  «        }|dz   }|dz  }||k     rB|t          ||         ¦  «        k    r)|dz  }|dz  }||k     r|t          ||         ¦  «        k    °)|                     |¦  «         |                     |¦  «         ||k     °—|S )z’
    Return a list of character codes consisting of pairs
    [code1a, code1b, code2a, code2b,...] which cover all
    the characters in |s|.
    r   r   )ÚlistÚsortÚlenÚordÚappend)ÚsÚ	char_listÚiÚnÚresultÚcode1Úcode2s          úX/root/disk_3tb/conda_envs/Huy-visual/lib/python3.11/site-packages/Cython/Plex/Regexps.pyÚchars_to_rangesr      sê   € õ �Q‘”€IØ‡N‚NÑÔÐØ	€AÝˆI‰Œ€AØ€FØ
ˆaŠ%ˆ%Ý�I˜a”LÑ!Ô!ˆØ˜‘	ˆØ	ˆQ‰ˆØ�!Šeˆe˜¥ Y¨q¤\Ñ!2Ô!2Ò2Ð2Ø�Q‰JˆEØ�‰FˆAð �!Šeˆe˜¥ Y¨q¤\Ñ!2Ô!2Ò2Ð2ð 	�Š�eÑÔÐØ�Š�eÑÔÐð ˆaŠ%ˆ%ð €Mó    c                 óÞ   — t          | t          d¦  «        ¦  «        }t          |t          d¦  «        dz   ¦  «        }||k     r)t          d¦  «        t          d¦  «        z
  }||z   ||z   fS dS )zŠ
    If the range of characters from code1 to code2-1 includes any
    lower case letters, return the corresponding upper case range.
    ÚaÚzr   ÚAN©Úmaxr   Úmin©r   r   Úcode3Úcode4Úds        r   Úuppercase_ranger$   3   ói   € õ
 �•s˜3‘x”xÑ Ô €EÝ�•s˜3‘x”x !‘|Ñ$Ô$€EØˆu‚}€}Ý�‰HŒH•s˜3‘x”xÑˆØ˜‘	˜5 1™9Ð%Ð%àˆtr   c                 óÞ   — t          | t          d¦  «        ¦  «        }t          |t          d¦  «        dz   ¦  «        }||k     r)t          d¦  «        t          d¦  «        z
  }||z   ||z   fS dS )zŠ
    If the range of characters from code1 to code2-1 includes any
    upper case letters, return the corresponding lower case range.
    r   ÚZr   r   Nr   r    s        r   Úlowercase_ranger(   A   r%   r   c                 ój   ‡ — ˆ fd„t          dt          ‰ ¦  «        d¦  «        D ¦   «         }t          |Ž S )zƒ
    Given a list of codes as returned by chars_to_ranges, return
    an RE which will match a character in any of the ranges.
    c                 óN   •— g | ]!}t          ‰|         ‰|d z            ¦  «        ‘Œ"S )r   )Ú	CodeRange)Ú.0r   Ú	code_lists     €r   ú
<listcomp>zCodeRanges.<locals>.<listcomp>T   s0   ø€ Ð^Ð^Ð^¸Q�y˜ 1œ y°°Q±Ô'7Ñ8Ô8Ð^Ð^Ð^r   r   é   )Úranger   ÚAlt)r-   Úre_lists   ` r   Ú
CodeRangesr3   O   s<   ø€ ð
 _Ð^Ð^Ð^Å%ÈÍ3ÈyÉ>Ì>Ð[\ÑB]ÔB]Ð^Ñ^Ô^€GÝ�ˆ=Ðr   c                 óÊ   — | t           cxk    r|k     rBn n?t          t          | t           ¦  «        t          t          t           dz   |¦  «        ¦  «        S t          | |¦  «        S )z�
    CodeRange(code1, code2) is an RE which matches any character
    with a code |c| in the range |code1| <= |c| < |code2|.
    r   )Únl_coder1   ÚRawCodeRangeÚ
RawNewline©r   r   s     r   r+   r+   X   sj   € ð
 •ÐÐÒÐ˜%ÒÐÐÐÐÝ•< ¥wÑ/Ô/ÝÝ¥¨!¡¨UÑ3Ô3ñ5ô 5ð 	5õ ˜E 5Ñ)Ô)Ð)r   c                   óT   — e Zd ZdZdZdZdZd„ Zd„ Zd„ Z	d„ Z
d„ Zd	„ Zd
„ Zd„ Zd„ ZdS )ÚREa  RE is the base class for regular expression constructors.
    The following operators are defined on REs:

         re1 + re2         is an RE which matches |re1| followed by |re2|
         re1 | re2         is an RE which matches either |re1| or |re2|
    r   Nc                 ó:   — t          d| j        j        z  ¦  «        ‚)aM  
        This method should add states to |machine| to implement this
        RE, starting at |initial_state| and ending at |final_state|.
        If |match_bol| is true, the RE must be able to match at the
        beginning of a line. If nocase is true, upper and lower case
        letters should be treated as equivalent.
        z %s.build_machine not implemented)ÚNotImplementedErrorÚ	__class__Ú__name__)ÚselfÚmachineÚinitial_stateÚfinal_stateÚ	match_bolÚnocases         r   Úbuild_machinezRE.build_machineu   s&   € õ "Ð"DØ"&¤.Ô"9ñ#:ñ ;ô ;ð 	;r   c                 ó„   — |                      ¦   «         }|                     |¦  «         |                     ||¦  «         |S )z~
        Given a state |s| of machine |m|, return a new state
        reachable from |s| on character |c| or epsilon.
        )Ú	new_stateÚlink_toÚadd_transition)r?   ÚmrA   Úcr   s        r   Ú	build_optzRE.build_opt�   s@   € ð
 �KŠK‰MŒMˆØ×Ò˜aÑ Ô Ð Ø×$Ò$ Q¨Ñ*Ô*Ð*Øˆr   c                 ó"   — t          | |¦  «        S ©N)ÚSeq©r?   Úothers     r   Ú__add__z
RE.__add__‹   ó   € Ý�4˜ÑÔÐr   c                 ó"   — t          | |¦  «        S rN   )r1   rP   s     r   Ú__or__z	RE.__or__Ž   rS   r   c                 óF   — | j         r| j         S |                      ¦   «         S rN   )ÚstrÚcalc_str©r?   s    r   Ú__str__z
RE.__str__‘   s!   € ØŒ8ð 	#Ø”8ˆOà—=’=‘?”?Ð"r   c                 ób   — t          |t          ¦  «        s|                      ||d¦  «         d S d S )NzPlex.RE instance)Ú
isinstancer:   Ú
wrong_type©r?   ÚnumÚvalues      r   Úcheck_rezRE.check_re—   s;   € Ý˜%¥Ñ$Ô$ð 	<Ø�OŠO˜C Ð(:Ñ;Ô;Ð;Ð;Ð;ð	<ð 	<r   c                 ód   — t          |¦  «        t          ur|                      ||d¦  «         d S d S )NÚstring)ÚtyperW   r]   r^   s      r   Úcheck_stringzRE.check_string›   s7   € Ý�‰;Œ;�cÐ!Ð!Ø�OŠO˜C ¨Ñ1Ô1Ð1Ð1Ð1ð "Ð!r   c                 óº   — |                       ||¦  «         t          |¦  «        dk    r1t          j        d|| j        j        t          |¦  «        fz  ¦  «        ‚d S )Nr   zOInvalid value for argument %d of Plex.%s.Expected a string of length 1, got: %s)re   r   r   ÚPlexValueErrorr=   r>   Úreprr^   s      r   Ú
check_charzRE.check_charŸ   sk   € Ø×Ò˜#˜uÑ%Ô%Ð%Ýˆu‰:Œ:˜Š?ˆ?ÝÔ'ð )Qà,/°´Ô1HÍ$ÈuÉ+Ì+ðTWñ)Wñ Xô Xð Xð ˆ?r   c                 ó|   — t          j        d|d›d| j        j        › d|› dt	          |¦  «        j        › �¦  «        ‚)NzInvalid type for argument r#   z of z (expected z, got )r   ÚPlexTypeErrorr=   Ú__qualname__rd   r>   )r?   r_   r`   Úexpecteds       r   r]   zRE.wrong_type¦   sh   € ÝÔ"ð@¨ÐRð @ð @°D´NÔ4Oð @ð @Ø!ð@ð @Ý)-¨e©¬Ô)=ð@ð @ñ
ô 
ð 	
r   )r>   Ú
__module__rl   Ú__doc__ÚnullableÚmatch_nlrW   rE   rL   rR   rU   rZ   ra   re   ri   r]   © r   r   r:   r:   i   s¹   € € € € € ðð ð €HØ€HØ
€Cð
;ð 
;ð 
;ðð ð ð ð  ð  ð ð  ð  ð#ð #ð #ð<ð <ð <ð2ð 2ð 2ðXð Xð Xð
ð 
ð 
ð 
ð 
r   r:   c                 óÔ   — t          | ¦  «        dk    r.t          t          | ¦  «        t          | ¦  «        dz   ¦  «        }nt          | ¦  «        }dt	          | ¦  «        z  |_        |S )z;
    Char(c) is an RE which matches the character |c|.
    r   zChar(%s))r   r+   r   ÚSpecialSymbolrh   rW   )rK   r   s     r   ÚCharru   ´   sX   € õ ˆ1�v„v�‚{€{Ý�3˜q™6œ6¥3 q¡6¤6¨A¡:Ñ.Ô.ˆˆå˜qÑ!Ô!ˆØ�d 1™gœgÑ%€F„JØ€Mr   c                   ó8   — e Zd ZdZdZdZdZdZdZd„ Z	d„ Z
d„ ZdS )r6   zÒ
    RawCodeRange(code1, code2) is a low-level RE which matches any character
    with a code |c| in the range |code1| <= |c| < |code2|, where the range
    does not include newline. For internal use only.
    r   Nc                 ól   — ||f| _         t          ||¦  «        | _        t          ||¦  «        | _        d S rN   )r0   r$   r(   )r?   r   r   s      r   Ú__init__zRawCodeRange.__init__Ì   s7   € Ø˜U�^ˆŒ
Ý.¨u°eÑ<Ô<ˆÔÝ.¨u°eÑ<Ô<ˆÔÐÐr   c                 ó  — |r|                       ||t          ¦  «        }|                     | j        |¦  «         |rF| j        r|                     | j        |¦  «         | j        r|                     | j        |¦  «         d S d S d S rN   )rL   ÚBOLrI   r0   r$   r(   ©r?   rJ   rA   rB   rC   rD   s         r   rE   zRawCodeRange.build_machineÑ   s©   € Øð 	BØ ŸNšN¨1¨m½SÑAÔAˆMØ×$Ò$ T¤Z°Ñ=Ô=Ð=Øð 	PØÔ#ð PØ×,Ò,¨TÔ-AÀ;ÑOÔOÐOØÔ#ð PØ×,Ò,¨TÔ-AÀ;ÑOÔOÐOÐOÐOð		Pð 	PðPð Pr   c                 ó$   — d| j         | j        fz  S )NzCodeRange(%d,%d)r8   rY   s    r   rX   zRawCodeRange.calc_strÛ   s   € Ø! T¤Z°´Ð$<Ñ<Ð<r   )r>   rn   rl   ro   rp   rq   r0   r$   r(   rx   rE   rX   rr   r   r   r6   r6   À   si   € € € € € ðð ð
 €HØ€HØ€EØ€OØ€Oð=ð =ð =ð
Pð Pð Pð=ð =ð =ð =ð =r   r6   c                   ó    — e Zd ZdZdZdZd„ ZdS )Ú_RawNewlinezd
    RawNewline is a low-level RE which matches a newline character.
    For internal use only.
    r   r   c                 óÄ   — |r|                       ||t          ¦  «        }|                       ||t          ¦  «        }|                     t          t          dz   f|¦  «         d S ©Nr   )rL   rz   ÚEOLrI   r5   )r?   rJ   rA   rB   rC   rD   r   s          r   rE   z_RawNewline.build_machineç   sZ   € Øð 	BØ ŸNšN¨1¨m½SÑAÔAˆMØ�NŠN˜1˜m­SÑ1Ô1ˆØ	×Ò�'¥7¨Q¡;Ð/°Ñ=Ô=Ð=Ð=Ð=r   N)r>   rn   rl   ro   rp   rq   rE   rr   r   r   r~   r~   ß   s9   € € € € € ðð ð €HØ€Hð>ð >ð >ð >ð >r   r~   c                   ó*   — e Zd ZdZdZdZdZd„ Zd„ ZdS )rt   zx
    SpecialSymbol(sym) is an RE which matches the special input
    symbol |sym|, which is one of BOL, EOL or EOF.
    r   Nc                 ó   — || _         d S rN   )Úsym)r?   r„   s     r   rx   zSpecialSymbol.__init__ú   s   € ØˆŒˆˆr   c                 ó˜   — |r,| j         t          k    r|                      ||t          ¦  «        }|                     | j         |¦  «         d S rN   )r„   r�   rL   rz   rI   r{   s         r   rE   zSpecialSymbol.build_machineý   sJ   € ð ð 	B˜œ¥Sš˜Ø ŸNšN¨1¨m½SÑAÔAˆMØ×$Ò$ T¤X¨{Ñ;Ô;Ð;Ð;Ð;r   )	r>   rn   rl   ro   rp   rq   r„   rx   rE   rr   r   r   rt   rt   ñ   sM   € € € € € ðð ð €HØ€HØ
€Cðð ð ð<ð <ð <ð <ð <r   rt   c                   ó$   — e Zd ZdZd„ Zd„ Zd„ ZdS )rO   z]Seq(re1, re2, re3...) is an RE which matches |re1| followed by
    |re2| followed by |re3|...c                 ó  — d}t          |¦  «        D ]$\  }}|                      ||¦  «         |o|j        }Œ%|| _        || _        t	          |¦  «        }d}|r!|dz  }||         }|j        rd}n
|j        sn|°!|| _        d S )Nr   r   )Ú	enumeratera   rp   r2   r   rq   )r?   r2   rp   r   Úrerq   s         r   rx   zSeq.__init__	  s²   € ØˆÝ˜wÑ'Ô'ð 	0ð 	0‰EˆAˆrØ�MŠM˜!˜RÑ Ô Ð ØÐ/ B¤KˆHˆHØˆŒØ ˆŒÝ�‰LŒLˆØˆØð 	Ø�‰FˆAØ˜”ˆBØŒ{ð Ø�ØØ”;ð Øð ð 	ð !ˆŒˆˆr   c                 óJ  — | j         }t          |¦  «        dk    r|                     |¦  «         d S |}t          |¦  «        }t          |¦  «        D ]P\  }	}
|	|dz
  k     r|                     ¦   «         }n|}|
                     |||||¦  «         |}|
j        p|o|
j        }ŒQd S ©Nr   r   )r2   r   rH   rˆ   rG   rE   rq   rp   )r?   rJ   rA   rB   rC   rD   r2   Ús1r   r   r‰   Ús2s               r   rE   zSeq.build_machine  sÄ   € Ø”,ˆÝˆw‰<Œ<˜1ÒÐØ×!Ò! +Ñ.Ô.Ð.Ð.Ð.àˆBÝ�G‘”ˆAÝ" 7Ñ+Ô+ð Gð G‘��2Ø�q˜1‘u’9�9ØŸš™œ�B�Bà$�BØ× Ò   B¨¨I°vÑ>Ô>Ð>Ø�ØœKÐF¨IÐ,E¸"¼+�	�	ðGð Gr   c                 ób   — dd                      t          t          | j        ¦  «        ¦  «        z  S )NzSeq(%s)ú,©ÚjoinÚmaprW   r2   rY   s    r   rX   zSeq.calc_str,  ó%   € Ø˜3Ÿ8š8¥C­¨T¬\Ñ$:Ô$:Ñ;Ô;Ñ;Ð;r   N©r>   rn   rl   ro   rx   rE   rX   rr   r   r   rO   rO     sN   € € € € € ð"ð "ð!ð !ð !ð&Gð Gð Gð <ð <ð <ð <ð <r   rO   c                   ó$   — e Zd ZdZd„ Zd„ Zd„ ZdS )r1   zRAlt(re1, re2, re3...) is an RE which matches either |re1| or
    |re2| or |re3|...c                 ó  — || _         d}d}g }g }d}|D ]Z}|                      ||¦  «         |j        r|                     |¦  «         d}n|                     |¦  «         |j        rd}|dz  }Œ[|| _        || _        || _        || _        d S r‹   )r2   ra   rp   r   rq   Únullable_resÚnon_nullable_res)r?   r2   rp   rq   r—   r˜   r   r‰   s           r   rx   zAlt.__init__4  s»   € ØˆŒØˆØˆØˆØÐØˆØð 		ð 		ˆBØ�MŠM˜!˜RÑ Ô Ð ØŒ{ð ,Ø×#Ò# BÑ'Ô'Ð'Ø��à ×'Ò'¨Ñ+Ô+Ð+ØŒ{ð Ø�Ø�‰FˆAˆAØ(ˆÔØ 0ˆÔØ ˆŒØ ˆŒˆˆr   c                 óà   — | j         D ]}|                     |||||¦  «         Œ| j        rA|r|                      ||t          ¦  «        }| j        D ]}|                     |||d|¦  «         Œd S d S )Nr   )r—   rE   r˜   rL   rz   )r?   rJ   rA   rB   rC   rD   r‰   s          r   rE   zAlt.build_machineJ  sª   € ØÔ#ð 	Oð 	OˆBØ×Ò˜Q ¨{¸IÀvÑNÔNÐNÐNØÔ ð 	KØð FØ $§¢¨q°-ÅÑ EÔ E�ØÔ+ð Kð K�Ø× Ò   M°;ÀÀ6ÑJÔJÐJÐJð		Kð 	KðKð Kr   c                 ób   — dd                      t          t          | j        ¦  «        ¦  «        z  S )NzAlt(%s)r�   r�   rY   s    r   rX   zAlt.calc_strS  r“   r   Nr”   rr   r   r   r1   r1   0  sN   € € € € € ðð ð!ð !ð !ð,Kð Kð Kð<ð <ð <ð <ð <r   r1   c                   ó$   — e Zd ZdZd„ Zd„ Zd„ ZdS )ÚRep1z@Rep1(re) is an RE which matches one or more repetitions of |re|.c                 óp   — |                       d|¦  «         || _        |j        | _        |j        | _        d S r€   )ra   r‰   rp   rq   )r?   r‰   s     r   rx   zRep1.__init__Z  s3   € Ø�Š�a˜ÑÔÐØˆŒØœˆŒØœˆŒˆˆr   c                 ó(  — |                      ¦   «         }|                      ¦   «         }|                     |¦  «         | j                             ||||p| j        j        |¦  «         |                     |¦  «         |                     |¦  «         d S rN   )rG   rH   r‰   rE   rq   )r?   rJ   rA   rB   rC   rD   rŒ   r�   s           r   rE   zRep1.build_machine`  s   € Ø�[Š[‰]Œ]ˆØ�[Š[‰]Œ]ˆØ×Ò˜bÑ!Ô!Ð!ØŒ×Ò˜a  R¨Ð)F°d´gÔ6FÈÑOÔOÐOØ
�
Š
�2‰ŒˆØ
�
Š
�;ÑÔÐÐÐr   c                 ó   — d| j         z  S )NzRep1(%s)©r‰   rY   s    r   rX   zRep1.calc_strh  s   € Ø˜DœGÑ#Ð#r   Nr”   rr   r   r   rœ   rœ   W  sG   € € € € € ØJÐJð$ð $ð $ð ð  ð  ð$ð $ð $ð $ð $r   rœ   c                   ó,   — e Zd ZdZdZdZd„ Zd„ Zd„ ZdS )Ú
SwitchCasezÓ
    SwitchCase(re, nocase) is an RE which matches the same strings as RE,
    but treating upper and lower case letters according to |nocase|. If
    |nocase| is true, case is ignored, otherwise it is not.
    Nc                 óR   — || _         || _        |j        | _        |j        | _        d S rN   )r‰   rD   rp   rq   )r?   r‰   rD   s      r   rx   zSwitchCase.__init__u  s&   € ØˆŒØˆŒØœˆŒØœˆŒˆˆr   c                 óL   — | j                              ||||| j        ¦  «         d S rN   )r‰   rE   rD   r{   s         r   rE   zSwitchCase.build_machine{  s3   € ØŒ×Ò˜a °¸YØ"œkñ	+ô 	+ð 	+ð 	+ð 	+r   c                 ó4   — | j         rd}nd}|›d| j        ›d�S )NÚNoCaseÚCaseú(ú))rD   r‰   )r?   Únames     r   rX   zSwitchCase.calc_str  s-   € ØŒ;ð 	ØˆDˆDàˆDØ˜4˜4 ¤  Ð)Ð)r   )	r>   rn   rl   ro   r‰   rD   rx   rE   rX   rr   r   r   r¢   r¢   l  sW   € € € € € ðð ð
 
€BØ€Fð$ð $ð $ð+ð +ð +ð*ð *ð *ð *ð *r   r¢   z8
    Empty is an RE which matches the empty string.
    ÚEmptyc                 ó†   — t          t          t          t          | ¦  «        ¦  «        Ž }dt	          | ¦  «        z  |_        |S )z@
    Str1(s) is an RE which matches the literal string |s|.
    úStr(%s))rO   Útupler’   ru   rh   rW   ©r   r   s     r   ÚStr1r°   –  s5   € õ •%��D !™œÑ%Ô%Ð&€FØ�T !™WœWÑ$€F„JØ€Mr   c                  ó  — t          | ¦  «        dk    rt          | d         ¦  «        S t          t          t	          t          | ¦  «        ¦  «        Ž }dd                     t	          t          | ¦  «        ¦  «        z  |_        |S )zŽ
    Str(s) is an RE which matches the literal string |s|.
    Str(s1, s2, s3, ...) is an RE which matches any of |s1| or |s2| or |s3|...
    r   r   r­   r�   )r   r°   r1   r®   r’   r‘   rh   rW   )Ústrsr   s     r   ÚStrr³   Ÿ  sb   € õ
 ˆ4�y„y�A‚~€~Ý�D˜”G‰}Œ}Ðå•e�C¥ d™OœOÑ,Ô,Ð-ˆØ §¢­#­d°D©/¬/Ñ!:Ô!:Ñ:ˆŒ
Øˆr   c                 ól   — t          t          | ¦  «        ¦  «        }dt          | ¦  «        z  |_        |S )zH
    Any(s) is an RE which matches any character in the string |s|.
    zAny(%s))r3   r   rh   rW   r¯   s     r   ÚAnyrµ   ¬  s0   € õ �¨Ñ*Ô*Ñ+Ô+€FØ�T !™WœWÑ$€F„JØ€Mr   c                 óÜ   — t          | ¦  «        }|                     dt           ¦  «         |                     t          ¦  «         t	          |¦  «        }dt          | ¦  «        z  |_        |S )zp
    AnyBut(s) is an RE which matches any character (including
    newline) which is not in the string |s|.
    r   z
AnyBut(%s))r   ÚinsertÚmaxintr   r3   rh   rW   )r   Úrangesr   s      r   ÚAnyButrº   µ  s]   € õ
 ˜QÑÔ€FØ
‡M‚M�!•f�WÑÔÐØ
‡M‚M•&ÑÔÐÝ˜ÑÔ€FØ¥ Q¡¤Ñ'€F„JØ€Mr   Ú zT
    AnyChar is an RE which matches any single character (including a newline).
    ÚAnyCharc                 ó¦  — |r<t          t          | ¦  «        t          |¦  «        dz   ¦  «        }d| ›d|›d�|_        n’g }t          dt	          | ¦  «        d¦  «        D ]Q}|                     t          t          | |         ¦  «        t          | |dz            ¦  «        dz   ¦  «        ¦  «         ŒRt          |Ž }dt          | ¦  «        z  |_        |S )a  
    Range(c1, c2) is an RE which matches any single character in the range
    |c1| to |c2| inclusive.
    Range(s) where |s| is a string of even length is an RE which matches
    any single character in the ranges |s[0]| to |s[1]|, |s[2]| to |s[3]|,...
    r   zRange(r�   r©   r   r/   z	Range(%s))r+   r   rW   r0   r   r   r1   rh   )rŒ   r�   r   r¹   r   s        r   ÚRanger¾   Ê  sÇ   € ð 
ð ,Ý�3˜r™7œ7¥C¨¡G¤G¨a¡KÑ0Ô0ˆˆØ') r r¨2¨2¨2Ð.ˆŒ
ˆ
àˆÝ�q�#˜b™'œ' 1Ñ%Ô%ð 	Eð 	EˆAØ�MŠM�)¥C¨¨1¬¡J¤Jµ°B°q¸1±u´I±´ÀÑ0BÑCÔCÑDÔDÐDÐDÝ�f�ˆØ ¥4¨¡8¤8Ñ+ˆŒ
Ø€Mr   c                 óD   — t          | t          ¦  «        }d| z  |_        |S )zI
    Opt(re) is an RE which matches either |re| or the empty string.
    zOpt(%s))r1   r«   rW   ©r‰   r   s     r   ÚOptrÁ   Ý  s!   € õ �•U‰^Œ^€FØ˜R‘€F„JØ€Mr   c                 óR   — t          t          | ¦  «        ¦  «        }d| z  |_        |S )zJ
    Rep(re) is an RE which matches zero or more repetitions of |re|.
    zRep(%s))rÁ   rœ   rW   rÀ   s     r   ÚReprÃ   æ  s%   € õ •�b‘”‰]Œ]€FØ˜R‘€F„JØ€Mr   c                 ó$   — t          | d¬¦  «        S )z€
    NoCase(re) is an RE which matches the same strings as RE, but treating
    upper and lower case letters as equivalent.
    r   ©rD   ©r¢   r    s    r   r¦   r¦   ï  s   € õ
 �b Ð#Ñ#Ô#Ð#r   c                 ó$   — t          | d¬¦  «        S )z¶
    Case(re) is an RE which matches the same strings as RE, but treating
    upper and lower case letters as distinct, i.e. it cancels the effect
    of any enclosing NoCase().
    r   rÅ   rÆ   r    s    r   r§   r§   ÷  s   € õ �b Ð#Ñ#Ô#Ð#r   z=
    Bol is an RE which matches the beginning of a line.
    ÚBolz7
    Eol is an RE which matches the end of a line.
    ÚEolz9
    Eof is an RE which matches the end of the file.
    ÚEofrN   )(ro   Útypesr»   r   r¸   rz   r�   ÚEOFr   r5   r   r$   r(   r3   r+   r:   ru   r6   r~   r7   rt   rO   r1   rœ   r¢   r«   rW   r°   r³   rµ   rº   r¼   r¾   rÁ   rÃ   r¦   r§   rÈ   rÉ   rÊ   rr   r   r   ú<module>rÍ      sN  ððð ð €€€à Ð Ð Ð Ð Ð à	€ð €Ø€Ø€à
ˆ#ˆd‰)Œ)€ðð ð ð.ð ð ðð ð ðð ð ð
*ð 
*ð 
*ð"A
ð A
ð A
ð A
ð A
ñ A
ô A
ð A
ðV	ð 	ð 	ð=ð =ð =ð =ð =�2ñ =ô =ð =ð>>ð >ð >ð >ð >�"ñ >ô >ð >ð ˆ[‰]Œ]€
ð<ð <ð <ð <ð <�Bñ <ô <ð <ð((<ð (<ð (<ð (<ð (<ˆ"ñ (<ô (<ð (<ðV$<ð $<ð $<ð $<ð $<ˆ"ñ $<ô $<ð $<ðN$ð $ð $ð $ð $ˆ2ñ $ô $ð $ð**ð *ð *ð *ð *�ñ *ô *ð *ðD 	ˆ‰Œ€ðð „ð €„	ðð ð ð
ð 
ð 
ðð ð ð
ð 
ð 
ð ˆ&�‰*Œ*€ðð „ð €„ðð ð ð ð&ð ð ðð ð ð$ð $ð $ð$ð $ð $ð €dˆ3�i„i€ðð „ð €„à
€dˆ3�i„i€ðð „ð €„à
€dˆ3�i„i€ðð „ð €„€€r   