Your IP : 216.73.216.213


Current Path : /opt/alt/python35/lib64/python3.5/Tools/scripts/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/Tools/scripts/__pycache__/find-uname.cpython-35.pyc



��Yf��@s]dZddlZddlZddlZdd�ZedkrYeejdd��dS)a)
For each argument on the command line, look for it in the set of all Unicode
names.  Arguments are treated as case-insensitive regular expressions, e.g.:

    % find-uname 'small letter a$' 'horizontal line'
    *** small letter a$ matches ***
    LATIN SMALL LETTER A (97)
    COMBINING LATIN SMALL LETTER A (867)
    CYRILLIC SMALL LETTER A (1072)
    PARENTHESIZED LATIN SMALL LETTER A (9372)
    CIRCLED LATIN SMALL LETTER A (9424)
    FULLWIDTH LATIN SMALL LETTER A (65345)
    *** horizontal line matches ***
    HORIZONTAL LINE EXTENSION (9135)
�Ncs�g}xVttjd�D]A}y&|j|tjt|��f�Wqtk
rZYqXqWxt|D]l}tj	|tj
���fdd�|D�}|rftd|dd�x|D]}td|�q�WqfWdS)N�cs7g|]-\}}�j|�dk	r||f�qS)N)�search)�.0�x�y)�pat��=/opt/alt/python35/lib64/python3.5/Tools/scripts/find-uname.py�
<listcomp> s		zmain.<locals>.<listcomp>z***�matchesz%s (%d))�range�sys�
maxunicode�append�unicodedata�name�chr�
ValueError�re�compile�I�print)�argsZ
unicode_namesZix�argr�matchr)rr	�mains&
	

r�__main__r)�__doc__rr
rr�__name__�argvrrrr	�<module>s