On Wed, Feb 19, 2025 at 03:26:49PM +0100, Jean Delvare wrote:
> This is sed -E, not sed. So it uses extended regular expressions, which
> have different rules as to which characters must be escaped and which
> must not. This explains why quote_sed_re() doesn't work. You'd either
> need a separate helper function to quote sed -E extended regular
> expressions, or to rewrite the regexp above to be a basic (not
> extended) regular expression.

Thanks, in this case I just introduced another quote function for
extended regexs in the downstream hack.

_______________________________________________
Quilt-dev mailing list
Quilt-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to