[Top][All Lists]

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

Re: string-strip

From: Stefan Monnier
Subject: Re: string-strip
Date: Thu, 06 Jul 2006 18:22:49 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>> +     (save-match-data
>> Why?
> The purpose of string-strip is to strip the string, nothing else.
> Changing match-data is not an intended side effect, so it should be
> avoided IMO.

Given that it takes a regexp as argument, I'd say that it *is* expected to
mess the match data.


reply via email to

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