From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: Possible to write 'beginning of line' in a String? Date: Tue, 02 Apr 2013 11:11:37 +0300 Message-ID: <87d2ud73nq.fsf@imladris.arda> References: <877gkl1jgh.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1364890333 23036 80.91.229.3 (2 Apr 2013 08:12:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Apr 2013 08:12:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thorsten Jolitz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 02 10:12:41 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UMwKf-00023z-Cu for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 10:12:41 +0200 Original-Received: from localhost ([::1]:53812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwKG-0006K4-1l for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 04:12:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwK2-0006Jx-9e for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:12:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMwJw-0002C5-S5 for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:12:02 -0400 Original-Received: from mta-out.inet.fi ([195.156.147.13]:38189 helo=jenni2.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwJw-0002AS-HR for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:11:56 -0400 Original-Received: from imladris.arda (188.238.95.63) by jenni2.inet.fi (8.5.140.03) (authenticated as likote-3) id 508713990A73B9B3; Tue, 2 Apr 2013 11:11:49 +0300 Original-Received: from dtw by imladris.arda with local (Exim 4.72) (envelope-from ) id 1UMwJh-0000ah-LL; Tue, 02 Apr 2013 11:11:41 +0300 In-Reply-To: <877gkl1jgh.fsf@gmail.com> (Thorsten Jolitz's message of "Tue, 02 Apr 2013 09:26:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 195.156.147.13 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89880 Archived-At: --=-=-= Content-Type: text/plain 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 "\\`". --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJRWpK5AAoJEHGdadMkU5RQ+J8P/1pTM+77pQ7B+6gfwYd2gb5Q TvGyzPHyYMtFMFQODdec38FGiaSJJYI4wT2zluasSEB9t4QHpBX8wjCAepux1zD8 PiEJJNrAYhc6ubZH76goGxsuKrTnXn44jbJmoxeXTfjKcL9xhqFp2sG6qjIkYWdh QKeqE/n8lc/84M88SnExx3r+FzQVRXO8Qm2y0hRJtBiLqKDyVZyezytby49W9VNh hiB9JXqi5+KBuoiyteILu9GpMVZmwq0EzXUjOr+SDZ5QH9DniY2uITfxVAK2eXGl vFMIAeSl+rQRpBEhMmIqhegREF8eAS/l8z+cDIWRseLHesdPZRSFhi4F+ZuOQaap lWVWg4VgwChkIi2Wd/7yvAvLmbaYkErLzFhZSLLZ0ZOwc7As/E/1obT4ny7IVyS2 w+TKrvMCLmtVT5Aws3NSn5PWB6YQ9GkLQmC7jmRxoSGw8lmRo511pwc344hJhRet w36XU0li4dXUoCK7K2+u9H3KNMiudINV5ax4nkj2A5auIVXIVZcR/zrE9rTfgHJ+ B1OBJJX7NG/xB2JB5h280//vDYC5tO5ihjfehX47lbnvGja/EA7w8uMkh46AQkUQ sQkxUYrD/AJaSook5+Z6FR1od4m3+GsXYGXMoJL09eBNFgf8uHVpewEBpzApSthH xSgVrTIH7feiHpdgCtCy =wctK -----END PGP SIGNATURE----- --=-=-=--