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

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

Re: 21.1 incorrect Regular expression parsing


From: Jari Aalto+mail.emacs
Subject: Re: 21.1 incorrect Regular expression parsing
Date: Mon, 10 Dec 2001 19:59:45 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-*-nt5.0.2195) (i386-*-nt5.0.2195)

* 2001-12-09 Stefan Monnier <monnier+gnu.emacs.bug/news/@RUM.cs.yale.edu>
* 
<http://search.dejanews.com/msgid.xp?MID=%3C5l667gw3y7.fsf@rum.cs.yale.edu%3E&format=threaded>
>>>>>> "Jari" == Jari Aalto+mail <jari.aalto@poboxes.com> writes:
>
>> Following statement does not signal error. It should, because 
>> it is not a valid regular expression
>>    (string-match "[0-9]++" "12")
>
| Where have you seen it documented as "not valid" ?

I'm not sure I understand your question. If you mean that we need a
section from POSIX documentation before, I'm afraid I cannot provide
one. I guess the official chapter may label the behavior "undefined."

I understand this to be a regular expressing bug and It would be good
if Emacs signalled error.

For reference - I checked XEmacs 21.4.3 and it signals error.

Jari




reply via email to

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