Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <mailman.10.1728418673.4695.python-list@python.org>
Deutsch   English   Français   Italiano  
<mailman.10.1728418673.4695.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!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: Tue, 8 Oct 2024 22:17:49 +0200
Lines: 23
Sender: <karsten.hilbert@gmx.net>
Message-ID: <mailman.10.1728418673.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>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de IRSJU4wvMZ7DVFbRUSAezwvXpEJz2qBaw15rx3IGY0qg==
Cancel-Lock: sha1:b0VO8MSSE+IaY9HiUb4SV19IC2o= sha256:2usZFkYSyfvR3zcjtOfcastjXdLPBOLPQJvN/xKx0Fk=
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=ZZDUCBav; 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; 'line:':
 0.09; 'linux': 0.09; 'schrieb': 0.09; '1713': 0.16; '2024': 0.16;
 'skip:> 10': 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; 'missing': 0.37; 'something':
 0.40; 'should': 0.40; 'received:212': 0.62; 'skip:d 30': 0.86
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net;
 s=s31663417; t=1728418671; x=1729023471; i=karsten.hilbert@gmx.net;
 bh=kT/y1T1XHE4Eam5m6TXwlzBlkxytQbd/nnpc9GlJEqU=;
 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=ZZDUCBav0neTa7myOCagb6NkJoyInysfMxQ1m2EryzHkkbDEAIYBSHRabEwKNARQ
 d7ze4jqUUTV7Aa/9ZheuGUtCKFpDGmMS+5H9W3emghk/GB3L1ORTiLEkHTpjPlA3q
 bNRP1NeHb2JunL5X7Au2a0CCPXMtO5eWNK5VhYx5bLJP8xTHwIthhMxpQn2opXMAp
 k2jhQqa82WczT44L7XLROoRHMFwRVFty1KMtKQ4o8oekeskK5YncQQVEX7QkHEHSw
 DQK7d7crnTKI+fsRQxk/k7XHWXnqIoAHiTk4kx3y1iyr554fc23TYeZCHhe1LA9UL
 5PejX5gtVawQkQIFUA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Content-Disposition: inline
In-Reply-To: <1e13579f-693d-44cf-a563-7c0c9767e04e@mrabarnett.plus.com>
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:JK/kTeDxpErjm78nJXWkCgfKXvhJk4KbViXftfsIJLU6IepxMGe
 U60TsNozYFE64cHHoZaicd3pQDmWML/4MmBE+dG3/82EBAAmK00ChnQOzAA1bVVOcOr/UHC
 stMb+HaCL4XbEv7XdzaU2AN98YoI2JpbGTrDw0j3IpzNbhstE2thahv06yu77bRDQAbXgkc
 sAWIrw9hbQJVgOXrDlT2w==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:Pl4gG8W60kQ=;6c0kOYpuXKcyaDGBEzBu7/hJZkW
 qB73f+wOjqCtqGNTFf4iJIoPDG4OejuV985RHd8NV8U6HG8r6EJd20/c4q9ZB5LG+KsPsMw/v
 et3TDp4xaKzkqqHjJwWV+Ni1o+/catSbXajhpeFeoSR3Vcy3+fpDpIby1zhvaUnucfLG8nJRN
 cuendB5I/wov9rV1clSiufbl69xHWD0/grvFgI6UYxmM2GEgLi4ggrxTwWe5aXnC0gQrFw+qa
 QrzX1Xnp0pvv/cQXayABiPyo1BubOJ6P0TN/6klY7ZyuYQdN0r/H2rqlj7stYvIil3pqQdyFC
 aeY1wvslSWV/u80AK3drWdZIyoGsapAP5sJGpa5dfMoqK70HmBY+JExRAemcDt4+L9rljNdeF
 chKdZ0M//Yn0xJk5ho8Wts1wcSVEwLYjLd1rrINp31b7a0VkXWQC44/BiQVejDZ1PWQqcXNQy
 diau7p5E+qKIBzHvXYhScc5ZfF5BSSNX1k9nTmWpOMjoFlfW0pULHVAjb3Ltc+1QYJOBENAze
 EKicu+c0Ot7sChGnJlmJY4xi5gNNGz2l5glDVayxGCj4wN44ITjQcIyhJd6vx0mnO5GjRvd2e
 ++rS2RaHmcQMVShW7PJWsaVDWE2WJs7TlCnB1HEWK9pYyTmKdrbNK5dhIGjYRTIAIuiFxEqcq
 YR8zr5jmWgusKiRf+aEMGb7BxjRbrrvVkKAvvNBBcyvPs9c1VOn9AIutPhIkpIf6w/YjaEXdQ
 nVERZ1RGUQhdX0QSNjUg9eQFnNfycoZKplfkq6WO3mlhWKl+dMp54e4iVlO+JciXsK5hSyUwq
 n7tTYRiDBN4xObeVNYEhEbGw==
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: <ZwWTbePlZQodnPO7@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>
Bytes: 5462

Am Tue, Oct 08, 2024 at 08:07:04PM +0100 schrieb MRAB via Python-list:

> >unwanted_tex =3D '\sout{'
> >if unwanted_tex not in line: do_something_with_libreoffice()
> >
> That should be:
>
>     unwanted_tex =3D r'\sout{'

Hm.

	Python 3.11.2 (main, Aug 26 2024, 07:20:54) [GCC 12.2.0] on linux
	Type "help", "copyright", "credits" or "license" for more information.
	>>> tex =3D '\sout{'
	>>> tex
	'\\sout{'
	>>>

Am I missing something ?

Karsten
=2D-
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B