%PDF- %PDF-
Direktori : /lib/python3/dist-packages/markdown/extensions/__pycache__/ |
Current File : //lib/python3/dist-packages/markdown/extensions/__pycache__/legacy_em.cpython-312.pyc |
� ���e� � �~ � d Z ddlmZ ddlmZ ddlmZmZmZm Z ddl Z dZd Zd Z G d� de� Z G d � de� Zd� Zy)z@ This extension provides legacy behavior for _connected_words_. � )�annotations� )� Extension� )�UnderscoreProcessor�EmStrongItem� EM_STRONG2_RE� STRONG_EM2_RENz(_)([^_]+)\1z (_{2})(.+?)\1z%(_)\1(?!\1)([^_]+?)\1(?!\1)(.+?)\1{3}c � � e Zd ZdZ e ej eej ej z � dd� e ej e ej ej z � dd� e ej eej ej z � dd� e ej eej ej z � dd� e ej e ej ej z � dd� gZy ) �LegacyUnderscoreProcessorzIEmphasis processor for handling strong and em matches inside underscores.�doublez strong,emz em,strong�double2�single�strong�emN)�__name__� __module__�__qualname__�__doc__r �re�compiler �DOTALL�UNICODEr �STRONG_EM_RE� STRONG_RE�EMPHASIS_RE�PATTERNS� � �?/usr/lib/python3/dist-packages/markdown/extensions/legacy_em.pyr r s� � �S� �Z�R�Z�Z� �r�y�y�2�:�:�/E�F��R]�^��Z�R�Z�Z� �r�y�y�2�:�:�/E�F��R]�^��Z�R�Z�Z��b�i�i�"�*�*�.D�E�y�R]�^��Z�R�Z�Z� �2�9�9�r�z�z�+A�B�H�h�W��Z�R�Z�Z��R�Y�Y����-C�D�h�PT�U��Hr r c � � e Zd ZdZd� Zy)�LegacyEmExtensionz+ Add legacy_em extension to Markdown class.c �P � |j j t d� dd� y)z Modify inline patterns. �_� em_strong2�2 N)�inlinePatterns�registerr )�self�mds r �extendMarkdownz LegacyEmExtension.extendMarkdown- s! � � ���"�"�#<�T�#B�L�RT�Ur N)r r r r r+ r r r r"