From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jakub T. Jankiewicz" Newsgroups: gmane.emacs.devel Subject: Re: Scheme Mode and Regular Expression Literals Date: Thu, 14 Mar 2024 16:09:05 +0100 Message-ID: <20240314160905.00769b28@jcubic> References: <87sf105cw1.fsf@niceume.com> <86edcdb40m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35916"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?UTF-8?B?RW5nZGVnw6VyZA==?= , Eli Zaretskii , Toshi Umehara , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 14 16:13:43 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rkmm6-0009A9-Qo for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Mar 2024 16:13:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkmlU-00042h-3s; Thu, 14 Mar 2024 11:13:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkmhu-0001kL-Fd for emacs-devel@gnu.org; Thu, 14 Mar 2024 11:09:22 -0400 Original-Received: from smtpo104.poczta.onet.pl ([213.180.149.157]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkmhs-0000sD-Q1; Thu, 14 Mar 2024 11:09:22 -0400 Original-Received: from jcubic (unknown [178.218.193.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jcubic@onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 4TwW4M0dxzz1mkc; Thu, 14 Mar 2024 16:09:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onet.pl; s=2011; t=1710428950; bh=GoU2ShS1k17/vtH9SqrnlKAud+Ae+AuTCvOb3VvWxvo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PJIuwHAvLz69Ry1aGpsVsCTRwKx53iDf0/plh0y/Jgt+hRDkplbn3HY3LNvw88HGb JGqyZivAd8A68Pa3Ol/a+gnhJb4BjgWrImc346rYOBWe6In5DsY5GYIT9OMWRAtFP3 JPABsAZOZ5iUgmXZDGzKwmjj9jETjt3x0Og+ZszI= In-Reply-To: X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-redhat-linux-gnu) Received-SPF: pass client-ip=213.180.149.157; envelope-from=jcubic@onet.pl; helo=smtpo104.poczta.onet.pl X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 14 Mar 2024 11:13:02 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317048 Archived-At: On Thu, 14 Mar 2024 09:34:10 -0400 Stefan Monnier wrote: > If they can span several lines then matching the whole #/.../ with > a regexp is definitely the wrong approach. Just checked, Kawa and Gauche both accept newline as part of the expression, the same as strings. -- Jakub T. Jankiewicz, Senior Front-End Developer https://jcubic.pl/me https://lips.js.org https://koduj.org