help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: error in replace-match: "args out of range"


From: ken
Subject: Re: error in replace-match: "args out of range"
Date: Sat, 09 Apr 2011 08:35:38 -0400
User-agent: Thunderbird 2.0.0.24 (X11/20101213)

On 04/09/2011 02:44 AM PJ Weisberg wrote:
> On 4/8/11, ken <address@hidden> wrote:
>> On 04/07/2011 07:25 PM Tim X wrote:
>>> This was my point of warning. It is quite possible to have
>>> regexps where sub expressions are not found, but the overall regexp
>>> succeeds.
>> I'm having a hard time with that concept.  Is there a small bit of
>> example code you could show it with?
> 
> "I am\\( not\\)? a fish."
> 
> -PJ

And on what sort of string would that RE match but the subexpression
have the value nil (as opposed to the null string "")?




reply via email to

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