+
    '(jc	                     j    ^ RI t ^ RIt^ RIHtHt R R ltR R ltR R ltRR	 R
 lltRR R llt	R# )    N)PatternUnionc                0    V ^8  d   QhR\         R\        /# )   patternreturnr   str)formats   "P/home/ubuntu/cf-venv/lib/python3.14/site-packages/playwright/_impl/_str_utils.py__annotate__r      s       C     c                    R pV P                   ^ 8w  d   R pV P                   \        \        P                  4      ,          ^ 8w  d
   VR,          pV P                   \        \        P                  4      ,          ^ 8w  d
   VR,          pV P                   \        \        P
                  4      ,          ^ 8w  d
   VR,          pV P                   \        \        P
                  4      \        \        P                  4      ,          \        \        P                  4      ,          \        \        P                  4      ,          ( ,          ^ 8X  g   Q R4       hV# ) ismzPUnexpected re.Pattern flag, only MULTILINE, IGNORECASE and DOTALL are supported.)flagsintre
IGNORECASEDOTALL	MULTILINEUNICODE)r   r   s   & r   escape_regex_flagsr      s    E}}BMM**q0BII&1,BLL))a/BMM 22S^Cc"**oU
V	W	Z Z	Z	 Lr   c                0    V ^8  d   QhR\         R\         /# r   textr   )r
   )r   s   "r   r   r   &   s     8 83 83 8r   c                 2    \         P                  ! R RV 4      # )z[.*+?^>${}()|[\]\\]z\$&)r   subr   s   &r   escape_for_regexr"   &   s    66(&$77r   c                0    V ^8  d   QhR\         R\        /# r   r	   )r   s   "r   r   r   *   s     	 	G 	 	r   c                     R \         P                  ! RRV P                  4      P                  RR4      ,           R ,           \	        V 4      ,           # )/z(^|[^\\])(\\\\)*(["\'`])z\1\2\\\3z>>z\>\>)r   r    r   replacer   r!   s   &r   escape_regex_for_selectorr'   *   sO     	
&&,k4<<
H
P
P(
	
 		
 T
"	#r   c                    V ^8  d   QhR\         \        \        \        ,          3,          R\        R\        R\        /# )r   r   exactcase_sensitiver   r   r
   r   bool)r   s   "r   r   r   6   s:     6 6
WS\!
"6+/6HL66r   c                     \        V \        4      '       d   \        V 4      # \        P                  ! V 4      V'       d	   R ,           # R,           # )r   r   )
isinstancer   r'   jsondumps)r   r)   r*   s   &&&r   escape_for_text_selectorr1   6   s:     $  (..::des5555r   c                ^    V ^8  d   QhR\         \        \        3,          R\        R\        /# )r   valuer)   r   r+   )r   s   "r   r   r   >   s-      g'+r   c                     \        V \        4      '       d   \        V 4      # R V P                  RR4      P                  R R4      ,           R ,           V'       d	   R,           # R,           # )"\z\\z\"r   r   )r.   r   r'   r&   )r3   r)   s   &&r   escape_for_attribute_selectorr7   >   si     %!!(// 	
--f
%
-
-c5
9	:
	 3	" !	"r   )NN)N)
r/   r   typingr   r   r   r"   r'   r1   r7    r   r   <module>r:      s.     	 !$8	6 r   