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

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

Re: Possible to write 'beginning of line' in a String?


From: Teemu Likonen
Subject: Re: Possible to write 'beginning of line' in a String?
Date: Tue, 02 Apr 2013 11:11:37 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Thorsten Jolitz [2013-04-02 09:26:54 +0200] wrote:

> what is the (or rather - is there a) string equivalent to regexp
> "^abc"? "\nabc" is not quite what I want.

I think "^" should work but there is also "\`". Actually, in Lisp
strings you would write "\\`".

Attachment: pgpGPD9RM1ztl.pgp
Description: PGP signature


reply via email to

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