Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #198079
| Subject | Re: Pythonic way to combine regular expressions? |
|---|---|
| Newsgroups | comp.lang.python, alt.fantasy |
| References | <MrztS.208529$Nn1.7474@fx18.ams4> <names-20260926110359@ram.dialup.fu-berlin.de> |
| From | Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> |
| Organization | Watcom Pro Ltd. |
| Message-ID | <TBOtS.247604$4yM7.183409@fx08.ams4> (permalink) |
| Date | 2026-09-26 20:09 +0800 |
Cross-posted to 2 groups.
On 9/26/2026 6:04 PM, Stefan Ram wrote: > Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote or quoted: >> We also do not want to introduce /any/ extra identifiers, nor paren- >> thesis. > > Here's without names and parens: > > ^[+-]?[0-9]+$|^[+-]?[0-9]+\.[0-9]+[eE][+-]?[0-9]+$|^[+-]?[0-9]+\.[0-9]+$|^[+-]?\.[0-9]+[eE][+-]?[0-9]+$|^[+-]?\.[0-9]+$|^[+-]?[0-9]+\.[eE][+-]?[0-9]+$|^[+-]?[0-9]+\.$|^[+-]?[0-9]+[eE][+-]?[0-9]+$ > > Newsgroups: comp.lang.python,alt.folklore.computers > Followup-To: comp.lang.python Thank you. I'm sure Kent Beck of /eXtreme Programming/ would be proud of this regular expression if he bothered to read comp.lang.python. It puts the write-only programming language of Perl to shame. Do you think he'd be well received on Pern? We don't have alt.fantasy.anne- mccaffrey, so I've only included alt.fantasy for further commentary on Pernian Perl programming perennial illegibility. -- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Pythonic way to combine regular expressions? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-09-26 02:54 +0800
Re: Pythonic way to combine regular expressions? ram@zedat.fu-berlin.de (Stefan Ram) - 2026-09-25 19:08 +0000
Re: Pythonic way to combine regular expressions? ram@zedat.fu-berlin.de (Stefan Ram) - 2026-09-25 19:19 +0000
Re: Pythonic way to combine regular expressions? ram@zedat.fu-berlin.de (Stefan Ram) - 2026-09-26 10:04 +0000
Re: Pythonic way to combine regular expressions? Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-09-26 20:09 +0800
Re: Pythonic way to combine regular expressions? ram@zedat.fu-berlin.de (Stefan Ram) - 2026-09-26 12:22 +0000
csiph-web