| Deutsch English Français Italiano |
|
<ve4eeb$2blnu$5@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.python Subject: Re: Correct syntax for re.search() (Posting On Python-List Prohibited) Date: Tue, 8 Oct 2024 23:15:23 -0000 (UTC) Organization: A noiseless patient Spider Lines: 8 Message-ID: <ve4eeb$2blnu$5@dont-email.me> References: <ve0o34$1nep4$1@dont-email.me> <backslashes-20241007145600@ram.dialup.fu-berlin.de> <ve0qct$1o839$1@dont-email.me> <backslash-20241007152827@ram.dialup.fu-berlin.de> <m2cyka8ox5.fsf@cochabamba.home> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 09 Oct 2024 01:15:23 +0200 (CEST) Injection-Info: dont-email.me; posting-host="38bd9beb7663d91d20c567a30615575e"; logging-data="2479870"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xxGrlVZF0lEHCEkGc5PUq" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:7JUMx9YRFF1FpWoqDq0sq6kbfTA= Bytes: 1509 On Tue, 08 Oct 2024 19:50:14 +0200, Pieter van Oostrum wrote: > You could even omit the '+'. Then the concatenation is done at parsing > time instead of run time. Surprising how few people know about this. It’s a feature copied from C, and present in C++. But for some reason Java, JavaScript and PHP dropped it. Python is one of the few other languages that has it.