• Re: Correct syntax for re.search() (Posting On Python-List Prohibited)

    From Lawrence D'Oliveiro@21:1/5 to Pieter van Oostrum on Tue Oct 8 23:15:23 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)