From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Why are RegExps never working? Date: Sun, 11 Nov 2007 16:52:04 +0100 Message-ID: <66BB130D-350E-44AF-AA95-23572B99AAD4@Web.DE> References: <87lk94oozv.fsf@kamaloka.dhatu> <87abpkolme.fsf@kamaloka.dhatu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/mixed; boundary="===============1974278604==" X-Trace: ger.gmane.org 1194797294 14677 80.91.229.12 (11 Nov 2007 16:08:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2007 16:08:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sven Bretfeld Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 11 17:08:18 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IrFM9-00048b-EA for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Nov 2007 17:08:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrFLx-0005Wz-Id for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Nov 2007 11:08:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IrFLd-0005US-6G for help-gnu-emacs@gnu.org; Sun, 11 Nov 2007 11:07:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IrFLb-0005Sb-LE for help-gnu-emacs@gnu.org; Sun, 11 Nov 2007 11:07:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrFLb-0005SK-BA for help-gnu-emacs@gnu.org; Sun, 11 Nov 2007 11:07:43 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IrFLa-0001L5-DM for help-gnu-emacs@gnu.org; Sun, 11 Nov 2007 11:07:42 -0500 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 31F50AC8C631; Sun, 11 Nov 2007 17:07:40 +0100 (CET) Original-Received: from [195.4.205.234] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #208) id 1IrF6V-00028F-00; Sun, 11 Nov 2007 16:52:07 +0100 In-Reply-To: <87abpkolme.fsf@kamaloka.dhatu> X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) X-Sender: X-Provags-ID: X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49139 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1974278604== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-2--406723677" Content-Transfer-Encoding: 7bit This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-2--406723677 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Am 11.11.2007 um 16:19 schrieb Sven Bretfeld: > This works perfectly (of course). I will search in the info for the > difference between a line feed and an end of line, which is not clear > to me. I'm not sure whether it's described so clearly. The main thing is =20 that text is line oriented and therefore $ states end of line. And =20 therefore regular expressions end at line's end. So in the middle of =20 the from part $ cannot have another meaning than the character $ =20 itself. If the from part has to stretch over more than one line, then =20= each line ending has to be expressed with the linefeed character that =20= separates the text into more than one line. Could be sometimes a =20 carriage return (^M) has to be used, or some combination of carriage =20 return and linefeed ... -- Mit friedvollen Gr=FC=DFen Pete If my theory of relativity is proven successful, Germany will claim =20 me as a German, and France will declare that I am a citizen of the =20 world. Should my theory prove untrue, France will say that I am a =20 German, and Germany will declare that I am a Jew. -- Albert Einstein, =20 1929 --Apple-Mail-2--406723677 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: Signierter Teil der Nachricht content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iEYEARECAAYFAkc3JSQACgkQNkpl4NeD2QAUAgCgpzbvK0T9iWX61UsaI2fOU6FD oeQAoJqxw9U8CikPq9ZyG6pkrU93i0IN =UFdT -----END PGP SIGNATURE----- --Apple-Mail-2--406723677-- --===============1974278604== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1974278604==--