Had the same problem not long ago. Escaping here works with doubling the 
single quote.

Am Dienstag, 15. November 2016 16:29:47 UTC+1 schrieb Dader Grund:
>
> hallo,
>
> i need to uncomment this statement : 
>
>    # 'Mirroring',
>
> in gitolite.rc .
>
> The problem is that 'Mirroring' contains quotes.
> - { regexp: '^(\s*)#? *(\'Mirroring,\')',  line: "'Mirroring'," }
>
> when i run the task containing this regexp i get  this syntax error: 
>
> The offending line appears to be:
>
>        - { regexp: '^(\s*)#? *(\'Mirroring,\')",  line: "'Mirroring',' }
>                       ^ here
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/24c6465c-1576-475b-8f68-fce37157ed53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to