[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification

From: Eli Zaretskii
Subject: Re: Trimming strings, /emacs/lisp/emacs-lisp/subr-x.el modification
Date: Wed, 10 May 2017 05:29:00 +0300

> From: Andreas Schwab <address@hidden>
> Cc: Eli Zaretskii <address@hidden>,  Michael Heerdegen
>  <address@hidden>,  Mark Oteiza <address@hidden>,
>   address@hidden,  Johan Bockgård <address@hidden>,
>   address@hidden
> Date: Tue, 09 May 2017 18:37:47 +0200
> > Ok, so we agree that we don't add \\( \\) to the regexp and that we expect 
> > the caller to send a correct regexp as is the case for split-string, is 
> > that correct ?
> If you want to modify a regexp you need to make sure to preserve its
> semantics.

Can you give an example of a regexp whose semantics might change by
adding \\(..\\)?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]