From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Possible to write 'beginning of line' in a String? Date: Tue, 02 Apr 2013 10:16:30 +0200 Message-ID: <515A93DE.9010306@easy-emacs.de> References: <877gkl1jgh.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1364890531 25215 80.91.229.3 (2 Apr 2013 08:15:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Apr 2013 08:15:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 02 10:15:59 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 1UMwNq-0004J1-HC for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 10:15:58 +0200 Original-Received: from localhost ([::1]:54742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwNR-0007GF-M7 for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Apr 2013 04:15:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwNA-0007EI-Ci for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:15:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMwN3-0003Rq-Ok for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:15:16 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.8]:53838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMwN3-0003R8-FH for help-gnu-emacs@gnu.org; Tue, 02 Apr 2013 04:15:09 -0400 Original-Received: from [192.168.178.21] (brln-4d0c2a02.pool.mediaWays.net [77.12.42.2]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0Lxdlr-1UgPyL3f1n-017H8s; Tue, 02 Apr 2013 10:15:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: <877gkl1jgh.fsf@gmail.com> X-Provags-ID: V02:K0:n9/WRbsH8tsRLJm3GKe70rz9ZxahgNYM2zrwBfflR+J v7PF7rlT60qX/EgPShaHw70S4aNui824LViQUQ2a36phXYQaCh JmQPvSpF0/vX9MwxHwRcBo0MtBuimXzdShIRnFoCHGqKXGhTr4 gPiIyWCIrDwQ+I6tYCHTNl4sSi0+W9Qe5lYky4+VTOao3k3Fwa hxKXR9vk3WbboYqCKjRDlhI/X1+Kn0txGIGpBDYZhoc360ENG2 CA9yv3F+sYB0jpXW8n+AAGJImHEJoOow/ODQMUceBNziR3n1cr K2aAkK4KPhpIDDF96Yha8SbSJbtzlMgAKFgghyo9r4LMNfaLhi 5UXC4jiEBjKvKE2x23DuRS9n/lQKRXb94i39CnDmW X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.8 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:89881 Archived-At: Am 02.04.2013 09:26, schrieb Thorsten Jolitz: > > Hi List, > > what is the (or rather - is there a) string equivalent to regexp "^abc"? > "\nabc" is not quite what I want. > You may express "Beginning of line followed by string 'abc'" in different ways. Depends from usage, your needs. rx macro delivers that wording of regexps Maybe tell what's inconvenient with "^abc"