+
    f0i                        R t ^ RIHt ^RIHt ^RIHtHtHtH	t	 ^ RI
t
RtRtRt ! R R	]4      t ! R
 R]4      tR tR# )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                  0   ] tR t^tRt]! ]P                  ! ]]P                  ]P                  ,          4      RR4      ]! ]P                  ! ]]P                  ]P                  ,          4      RR4      ]! ]P                  ! ]]P                  ]P                  ,          4      RR4      ]! ]P                  ! ]]P                  ]P                  ,          4      RR4      ]! ]P                  ! ]]P                  ]P                  ,          4      RR4      .tR	tR
# )LegacyUnderscoreProcessorzIEmphasis processor for handling strong and em matches inside underscores.doublez	strong,emz	em,strongdouble2singlestrongem N)__name__
__module____qualname____firstlineno____doc__r   recompiler   DOTALLUNICODEr   STRONG_EM_RE	STRONG_REEMPHASIS_REPATTERNS__static_attributes__r       c/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/markdown/extensions/legacy_em.pyr	   r	      s    S 	RZZryy2::/EFR]^RZZryy2::/EFR]^RZZbii"**.DEyR]^RZZ	299rzz+ABHhWRZZRYY-CDhPTUHr   r	   c                       ] tR t^*tRtR tRtR# )LegacyEmExtensionz*Add legacy_em extension to Markdown class.c                R    VP                   P                  \        R4      R^24       R# )zModify inline patterns. _
em_strong2N)inlinePatternsregisterr	   )selfmds   &&r   extendMarkdown LegacyEmExtension.extendMarkdown-   s!    
""#<T#BLRTUr   r   N)r   r   r   r   r   r)   r   r   r   r   r!   r!   *   s    5Vr   r!   c                     \        R/ V B # )z.Return an instance of the `LegacyEmExtension` r   )r!   )kwargss   ,r   makeExtensionr-   2   s    &v&&r   )r   
__future__r    r   inlinepatternsr   r   r   r   r   r   r   r   r	   r!   r-   r   r   r   <module>r1      sP    #  \ \ 	  	 8	 3 	V	 V'r   