Deutsch English Français Italiano |
<mailman.13.1728497173.4695.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!fu-berlin.de!uni-berlin.de!not-for-mail From: Karsten Hilbert <Karsten.Hilbert@gmx.net> Newsgroups: comp.lang.python Subject: Re: Correct syntax for pathological re.search() Date: Wed, 9 Oct 2024 20:06:10 +0200 Lines: 25 Sender: <karsten.hilbert@gmx.net> Message-ID: <mailman.13.1728497173.4695.python-list@python.org> References: <ve0o34$1nep4$1@dont-email.me> <ZwV6SuYEdcf42RFA@hermes.hilbert.loc> <1e13579f-693d-44cf-a563-7c0c9767e04e@mrabarnett.plus.com> <ZwWTbePlZQodnPO7@hermes.hilbert.loc> <mailman.10.1728418673.4695.python-list@python.org> <864j5mfgzf.fsf@williamsburg.bawden.org> <ZwbGEj0U5kmrE7ys@hermes.hilbert.loc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de 8s2TUGuZGw9B7fG/ZLbt0Ap2C4bicEo5ZF0DYInvasLg== Cancel-Lock: sha1:9Mf271WAikyyc2kzrOorUbn9EAY= sha256:ZnTyDhpDGCiwPuVBAvP01sDb+XMXYYN91qCQvMAQrAg= Return-Path: <karsten.hilbert@gmx.net> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gmx.net header.i=karsten.hilbert@gmx.net header.b=EbUUhlIQ; dkim-adsp=pass; dkim-atps=neutral X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'aug': 0.07; 'received:212.227': 0.07; 'gpg': 0.09; 'karsten': 0.09; 'linux': 0.09; 'schrieb': 0.09; 'writes:': 0.09; '1713': 0.16; '2024': 0.16; 'hilbert': 0.16; "it'd": 0.16; 'subject:syntax': 0.16; 'python': 0.16; 'tue,': 0.19; 'to:addr:python-list': 0.20; '>>>': 0.28; 'subject:for': 0.33; 'header:In-Reply-To:1': 0.34; 'invalid': 0.35; 'missing': 0.37; 'alan': 0.40; 'something': 0.40; 'received:212': 0.62; 'sequence': 0.69; 'warning': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1728497171; x=1729101971; i=karsten.hilbert@gmx.net; bh=Sf21+pH8tVMtbiA8GvqfQ29WSdPcNdEGMxjdd6i/0ls=; h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To:Content-Transfer-Encoding: cc:content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=EbUUhlIQYBulEpiqw/EO1KdMEYBhUByjOmkvlUTI8dcpyWfPd3YzvnoBKTdw9Jm+ bW52IL572dJ11ekGV5Zkpl/BCRDBwj8JUTD1O6D3F2GDx0QctCDQScvCi+pJtrPGi IduXQRrP4Gt7r2DK6+151Vckns++8l56XBzpR/o+j5YExt8dcTQ2gGGglXBNB2mK1 msDHsHC50peBNAwtsii688JGUFEovDdfqG+x2xlskOB5h0O+7/Jxpr8htTv1OLeI+ zQJ4mMlGvks2RMowASIt/5zmtO23DrI4X6f4tyffU9uV098HDxy4MRW9Vm4TRdO2U bKIQEg+zt+qdrgYZTw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Content-Disposition: inline In-Reply-To: <864j5mfgzf.fsf@williamsburg.bawden.org> Ma_X_il-Followup-to: d Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net X-Pri_X_ority: 2 (High) X-Provags-ID: V03:K1:1ZyVbuQqE1EVXBtxc3Y4mkW/h70qibE1lXtk0UQtS61P11K/JFO vSczTmNQR5KzJeAb90/iy2Edb0VKDBGA2p1WCIUdSeHG8GqjY+BqUnyWmNxihm/n4PTgHm7 +pE8OZBPPyvAsR70+eHGwkN+ftB2Q9JVMK8uKJTw0rCCyLg0Q56WyKZyl2aGyxxwZwOp0uC oJFpFyIj414LlGXSzuphw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:BaVnpJAIdGA=;7vovOXxi4xNLZGSj5g8nQqYAWlG 5niyfAytMeI8E8VLvODJLRjKYqA1/93HLq7CkO2OM+gpDP5hro1Sb0FqDkycBu2E0g3rwbKe/ +mp7E/H8QqHCLLh8NHveUgbh3GM92C3n7RBws38Tv1K/yP85RSOsYDz6ayvZkEhMVaSvfWfsn IOf6sS0kTihys2QVke7vW6UCQUq87vz1zQZRfZajac4fkqGxo/y4payi4fRl4YTqbXSHvtsUu xq6GZRGTVReWf2Wgc2TGMbUB03pP5FdJI4TatI4Stvlr3Ozykg6s881ABaWo2m69xMqLPjbCD GKwK/wCGnbhYXDnlXrYKLpGB8TqfQX9muNZVY5Ooibzx659DJyqgd26B+at9C9dpONzXiBfqx +reGFfefVHClAP62g+A7qZia1uxXwH0FbtkAJ5CYu9/rUxhmF8i/TMMR/Smy77OlgbPji/XAD rL167p4OV3LlUV1BSfjBSaNXFHWFJ8lRid9yMCvnQGvw2H6xDGC4l758+3aYnNT1IRLFVY/A+ +hKb2ly41/l8/N92t7dEdCV+eTZDFsdQaI91mhzFCE6Ccgf2NbF/EkIp0MPCAr2K9TgycFeDw SonBRGGfcv8a8VPqI8XVbmqcIAULeNNwOQ0IxgRCuF2mDE+enH+gdECGEmbCA7Z/to1Wjf4FW /qkix5+FqxxbwnrKEFhKMWUo20w8kNLDTQ4xx7RWRK/kS0UGvoh5z4L6HYwBdqF58SNRsVyp8 6GpjItVBoftW1teDCzs+UCBMBSkgDSdCXXKS9a+ct0yJuErI1+yHSeV5XcGNbR06cu0WxoeJL yOPT2hL/SBQcz2wg0Yjw0Xew== X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: General discussion list for the Python programming language <python-list.python.org> List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> List-Archive: <https://mail.python.org/pipermail/python-list/> List-Post: <mailto:python-list@python.org> List-Help: <mailto:python-list-request@python.org?subject=help> List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> X-Mailman-Original-Message-ID: <ZwbGEj0U5kmrE7ys@hermes.hilbert.loc> X-Mailman-Original-References: <ve0o34$1nep4$1@dont-email.me> <ZwV6SuYEdcf42RFA@hermes.hilbert.loc> <1e13579f-693d-44cf-a563-7c0c9767e04e@mrabarnett.plus.com> <ZwWTbePlZQodnPO7@hermes.hilbert.loc> <mailman.10.1728418673.4695.python-list@python.org> <864j5mfgzf.fsf@williamsburg.bawden.org> Bytes: 5843 Am Tue, Oct 08, 2024 at 04:59:48PM -0400 schrieb Alan Bawden via Python-li= st: > Karsten Hilbert <Karsten.Hilbert@gmx.net> writes: > > Python 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] on l= inux > Type "help", "copyright", "credits" or "license" for more inf= ormation. > >>> tex =3D '\sout{' > >>> tex > '\\sout{' > >>> > > Am I missing something ? > > You're missing the warning it generates: > > <stdin>:1: DeprecationWarning: invalid escape sequence '\s' I knew it'd be good to ask :-D Karsten =2D- GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B