Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > fr.comp.lang.python > #3995
| Path | csiph.com!news.mixmin.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!.POSTED!not-for-mail |
|---|---|
| From | Olivier Miakinen <om+news@miakinen.net> |
| Newsgroups | fr.comp.lang.python |
| Subject | Re: Propriétés Unicode dans les regex Python |
| Date | Sun, 6 Nov 2022 19:46:37 +0100 |
| Organization | There's no cabale |
| Lines | 30 |
| Message-ID | <tk8vee$1tc4$1@cabale.usenet-fr.net> (permalink) |
| References | <tk67uo$1b37$1@cabale.usenet-fr.net> <87mt94306r.fsf@universite-de-strasbourg.fr.invalid> |
| NNTP-Posting-Host | 220.12.205.77.rev.sfr.net |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-15 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | cabale.usenet-fr.net 1667760398 62852 77.205.12.220 (6 Nov 2022 18:46:38 GMT) |
| X-Complaints-To | abuse@usenet-fr.net |
| NNTP-Posting-Date | Sun, 6 Nov 2022 18:46:38 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 |
| In-Reply-To | <87mt94306r.fsf@universite-de-strasbourg.fr.invalid> |
| Xref | csiph.com fr.comp.lang.python:3995 |
Show key headers only | View raw
Le 06/11/2022 10:24, Alain Ketterlin m'a répondu :
>
>> [...]
>
>> Est-ce que quelqu'un sait si c'est supporté dans une autre version de
>> Python, ou s'il est prévu que ça le soit un jour ?
>
> Je ne sais pas, mais je sais qu'une bibliothèque du niveau de PCRE est
> un très gros boulot, et pas forcément une priorité pour Python
> j'imagine.
Je m'étais imaginé que python pouvait réutiliser la bibliothèque PCRE
(ou PCRE2) existant sur <http://pcre.org/>, mais cela pose peut-être
des problèmes que je ne soupçonne pas forcément (droits ? existence
sur toutes les plateformes ? etc.)
> Cela étant, la doc mentionne une bibliothèque "regex", qui apparemment a
> bonne réputation. Je n'en sais pas plus.
>
> https://docs.python.org/3/library/re.html ("See also" à la fin de l'intro)
>
> https://stackoverflow.com/questions/7063420/perl-compatible-regular-expression-pcre-in-python
>
> (Le second lien est une réponse ancienne, mais qui me semble bien
> informée.)
Oui, tout cela est très prometteur. Un grand merci pour ta réponse.
--
Olivier Miakinen
Back to fr.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Propriétés Unicode dans les regex Python Olivier Miakinen <om+news@miakinen.net> - 2022-11-05 18:53 +0100
Re: Propriétés Unicode dans les regex Python Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2022-11-06 10:24 +0100
Re: Propriétés Unicode dans les regex Python Olivier Miakinen <om+news@miakinen.net> - 2022-11-06 19:46 +0100
Re: Propriétés Unicode dans les regex Python ast <ast@invalid> - 2022-11-06 20:29 +0100
Re: Propriétés Unicode dans les regex Python Dominique <zzz@aol.com> - 2022-11-09 10:52 +0100
Re: Propriétés Unicode dans les regex Python Dominique <zzz@aol.com> - 2022-11-09 14:46 +0100
Re: Propriétés Unicode dans les regex Python Olivier Miakinen <om+news@miakinen.net> - 2022-11-09 11:44 +0100
Re: Propriétés Unicode dans les regex Python Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2022-11-09 14:13 +0100
Re: Propriétés Unicode dans les regex Python Olivier Miakinen <om+news@miakinen.net> - 2022-11-09 15:12 +0100
Re: Propriétés Unicode dans les regex Python Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2022-11-09 19:42 +0100
Re: Propriétés Unicode dans les regex Python Olivier Miakinen <om+news@miakinen.net> - 2022-11-09 20:09 +0100
Re: Propriétés Unicode dans les regex Python Olivier Miakinen <om+news@miakinen.net> - 2022-11-09 15:22 +0100
Re: Propriétés Unicode dans les regex Python Olivier Miakinen <om+news@miakinen.net> - 2022-11-09 17:07 +0100
Re: Propriétés Unicode dans les regex Python Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2022-11-09 19:46 +0100
Re: Propriétés Unicode dans les regex Python Olivier Miakinen <om+news@miakinen.net> - 2022-11-09 19:52 +0100
Re: Propriétés Unicode dans les regex Python ast <ast@invalid> - 2022-11-10 14:32 +0100
Re: Propriétés Unicode dans les regex Python ast <ast@invalid> - 2022-11-10 14:29 +0100
csiph-web