
    l:i                         d Z ddlZd Zd Zy)a  Fixes error for commands containing one or more occurrences of the shell
prompt symbol '$'.

This usually happens when commands are copied from documentations
including them in their code blocks.

Example:
> $ git clone https://github.com/nvbn/thefuck.git
bash: $: command not found...
    Nc                 f    d| j                   v xr" t        j                  d| j                        d uS )Nz$: command not foundz^[\s]*\$ [\S]+)outputresearchscriptcommands    `/var/www/html/bot/venv/lib/python3.12/site-packages/thefuck/rules/remove_shell_prompt_literal.pymatchr      s1    '..0 	EII'8D    c                 8    | j                   j                  d      S )Nz$ )r   lstripr   s    r
   get_new_commandr      s    >>  &&r   )__doc__r   r   r    r   r
   <module>r      s   	 
'r   