Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Our vision is to speed up time, eventually eliminating it." -- Alex Schure


devel / comp.lang.python / Re: Definitive guide for Regex

SubjectAuthor
o Re: Definitive guide for Regexdn

1
Re: Definitive guide for Regex

<mailman.899.1633026962.4164.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=19915&group=comp.lang.python#19915

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: PythonList@DancesWithMice.info (dn)
Newsgroups: comp.lang.python
Subject: Re: Definitive guide for Regex
Date: Fri, 1 Oct 2021 07:35:44 +1300
Organization: DWM
Lines: 24
Message-ID: <mailman.899.1633026962.4164.python-list@python.org>
References: <CA+i5JwZ+aJWU3NuSJS0dj4owx_Sq=Nkkt1Ei+4b_-Nek+v5d+A@mail.gmail.com>
<7FE7CB5C-29E9-4C25-9C7A-9F1088A27959@barrys-emacs.org>
<3cb68ea8-78cc-8e67-7432-4a2a1c092b17@DancesWithMice.info>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de cmBGoe1HoAmoxGvf4z50IgCwfNUZIu5TJtJI+b3H68og==
Return-Path: <PythonList@DancesWithMice.info>
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=danceswithmice.info header.i=@danceswithmice.info
header.b=n1aPPSiI; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.017
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'despite': 0.05; 'jeffrey':
0.07; 'python.': 0.08; '=dn': 0.09;
'from:addr:danceswithmice.info': 0.09; 'from:addr:pythonlist':
0.09; 'regex': 0.09; 'barry': 0.16; 'message-
id:@DancesWithMice.info': 0.16; 'received:51.254': 0.16;
'received:51.254.211': 0.16; 'received:51.254.211.219': 0.16;
'received:cloud': 0.16; 'received:rangi.cloud': 0.16; 'wrote:':
0.16; 'python': 0.16; 'to:addr:python-list': 0.20; 'all,': 0.20;
'language': 0.21; "i've": 0.22; 'version': 0.23; '(and': 0.25;
'anyone': 0.25; 'fact': 0.28; 'header:User-Agent:1': 0.30;
'header:Organization:1': 0.31; 'sep': 0.32; 'but': 0.32; "i'm":
0.33; 'subject:for': 0.33; 'header:In-Reply-To:1': 0.34; 'trying':
0.35; 'book': 0.35; 'guide': 0.37; "it's": 0.37; 'put': 0.38;
'read': 0.38; 'use': 0.39; 'dear': 0.62; 'received:51': 0.64;
'look': 0.65; 'received:userid': 0.66; 'longer': 0.71;
'received:localhost.localdomain': 0.76; 'received:localdomain':
0.81; 'absolutely': 0.84; 'exercise': 0.84; 'received:47': 0.84;
'scott': 0.84; 'shi': 0.84; 'land': 0.93
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on vps517507.ovh.net
X-Spam-Level:
X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A autolearn=ham
autolearn_force=no version=3.4.0
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.rangi.cloud 6CA7B5A86
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
s=staff; t=1633026954;
bh=lDx8Fl6zsQuQarTHIaT8E8ajI5LC8sj/roKX7owVBQM=;
h=Subject:To:References:From:Date:In-Reply-To:From;
b=n1aPPSiIqxiFk7rGOqXG1fvnGv2rRe2BOp1esCr7lfhlSxM0x3BnzpouET7/eQAnR
ntHFfTmPhdzaj7d5pAIBcfOXnr4DuP+4KnEB9JPqx+SGEqJQe0s+diiLzTsr9l81fU
b17W7C7/x0KIvRjA6DaLn5i6dweXwgKbVBYyyeY9GSkZlM34QbWmeauW/bRKXIUWak
GpBx/kbNiggcy5w0a68nAgP1wu66OW4DePbvodFASQx/tFXszRW1qicZtfieqxC2XP
AuHj9gdajoNK0WqQGiOtMHr8XRzzRtgpEVtRagW+0RzXMhK/ruPKWIDwubjUjrxcWz
F7suX4j/DsxWQ==
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
In-Reply-To: <7FE7CB5C-29E9-4C25-9C7A-9F1088A27959@barrys-emacs.org>
Content-Language: en-GB
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
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: <3cb68ea8-78cc-8e67-7432-4a2a1c092b17@DancesWithMice.info>
X-Mailman-Original-References: <CA+i5JwZ+aJWU3NuSJS0dj4owx_Sq=Nkkt1Ei+4b_-Nek+v5d+A@mail.gmail.com>
<7FE7CB5C-29E9-4C25-9C7A-9F1088A27959@barrys-emacs.org>
 by: dn - Thu, 30 Sep 2021 18:35 UTC

On 01/10/2021 06.16, Barry Scott wrote:
>
>
>> On 30 Sep 2021, at 12:29, Shaozhong SHI <shishaozhong@gmail.com> wrote:
>>
>> Dear All,
>>
>> I am trying to look for a definitive guide for Regex in Python.
>> Can anyone help?
>
> Have you read the python docs for the re module?

I learned from Jeffrey Friedl's book "Mastering Regular Expressions",
but that was in a land far away, last century, and under a different
language (and the original version - I see it's now up to its third
edition).

Despite their concise exercise of power (and the fact that in my
Python-life I've never been put into a corner where I absolutely must
use one), I'm no longer a fan...
--
Regards,
=dn


devel / comp.lang.python / Re: Definitive guide for Regex

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor