[Top][All Lists]

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

Re: string-match bug?

From: Stefan Monnier
Subject: Re: string-match bug?
Date: Tue, 08 Dec 2009 10:56:19 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> You are looking for this regexp:  (string-match "^$" "foo")

Of course (string-match "^$" "hello\n\nthere") -> 6

        Stefan "Don't confuse ^, $ and \`, \'"

reply via email to

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