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: Thorsten Jolitz
Subject: Re: Possible to write 'beginning of line' in a String?
Date: Tue, 02 Apr 2013 11:22:31 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux)

Teemu Likonen <tlikonen@iki.fi> writes:

> 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 "\\`".

But this is still regexp syntax, when used as a string "^" and "\`" are
just printed like other chars. 

-- 
cheers,
Thorsten




reply via email to

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