[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
- Possible to write 'beginning of line' in a String?, Thorsten Jolitz, 2013/04/02
- Re: Possible to write 'beginning of line' in a String?, Teemu Likonen, 2013/04/02
- Re: Possible to write 'beginning of line' in a String?,
Thorsten Jolitz <=
- Re: Possible to write 'beginning of line' in a String?, Andreas Röhler, 2013/04/02
- Re: Possible to write 'beginning of line' in a String?, Thorsten Jolitz, 2013/04/02
- Re: Possible to write 'beginning of line' in a String?, Óscar Fuentes, 2013/04/02
- Re: Possible to write 'beginning of line' in a String?, Andreas Röhler, 2013/04/02
- Re: Possible to write 'beginning of line' in a String?, Thorsten Jolitz, 2013/04/02
- Message not available
- Re: Possible to write 'beginning of line' in a String?, Pascal J. Bourguignon, 2013/04/02
- Re: Possible to write 'beginning of line' in a String?, Thorsten Jolitz, 2013/04/03