
    l:il                     F    d dl Z d dlmZ d dlmZ  ed      d        Zd Zy)    N)shell)for_apptouchc                     d| j                   v S )NzNo such file or directory)output)commands    J/var/www/html/bot/venv/lib/python3.12/site-packages/thefuck/rules/touch.pymatchr
      s    &'..88    c                     t        j                  d| j                        d   }t        j                  dj                  |      | j                        S )Nz$touch: (?:cannot touch ')?(.+)/.+'?:r   zmkdir -p {})refindallr   r   and_formatscript)r   paths     r	   get_new_commandr      sC    ::/AABDD::n++D17>>BBr   )r   thefuck.shellsr   thefuck.utilsr   r
   r    r   r	   <module>r      s-    	   ! 	9 9Cr   