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

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

Re: Regexp not stateless?


From: Lennart Borgman (gmail)
Subject: Re: Regexp not stateless?
Date: Tue, 01 May 2007 22:32:54 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666

Richard Stallman wrote:
    This matches at the start of this text with `looking-at':

    <script type="text/javascript">
    <![CDATA[

However sometimes it matches just to the end of the first line and sometimes to the end of the second line (as it should). I am using this little function to test:

If you try a space instead of the newline
in that initial text, do you still get variation?

No, I could not make it happen with just a space as far as I remember. However Stefan had some other suggestions which I have not had time to test through yet.




reply via email to

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