Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #30531
| Path | csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.100 |
| X-Spam-Evidence | '*H*': 0.80; '*S*': 0.00; 'sep': 0.09; 'coders.': 0.16; 'enough.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'marker': 0.16; 'naive': 0.16; 'wrote:': 0.17; 'voted': 0.17; 'tim': 0.18; 'subject:) ': 0.20; 'received:209.85.214.174': 0.21; 'header:In-Reply-To:1': 0.25; 'url:wiki': 0.26; '[1]': 0.27; 'am,': 0.27; '[2]': 0.27; 'instead.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'facing': 0.29; 'idea,': 0.29; 'strings,': 0.29; 'though.': 0.29; 'url:wikipedia': 0.29; "i'm": 0.29; 'code': 0.31; 'could': 0.32; 'problem': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'url:org': 0.36; 'should': 0.36; 'subject: (': 0.36; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'url:en': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'skip:" 10': 0.40; 'subject:-': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'subject:, ': 0.61; 'personally': 0.61; '30,': 0.62; 'url:f': 0.75; 'url:jpg': 0.84; 'delaney': 0.84; 'snake': 0.84; 'southern': 0.84; 'subject:write': 0.84; 'url:upload': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=F7udF7Q0bCNt+IGKb6iDQA+7iROeiz2I521m2RYAfsg=; b=aaKythmrfJNEotfuVHgtLCPuAaecbnOGlcG+3u8CC5FE6WIhVC5jNDqY5U2M/AH7Gx fwCkaSw3ct/QGR4Q6+osjgoqbM+l1kCUqttCQWLj2ReMtNcawmjxt7grew8carrCR8uU bmHBOTVv+EjMJ7FkBHbNyNAJG+KG0xAUSwwjqbi4wW+Lc41kI2gncwZrNWiPk6TwqZDK X5oFkfBgMMEPtF5cYao9HchJZef2LSYohzM+tLbM/TXrcZwlqld43TIkhgM5rfeyILIN HdCwTbf4DmfUvyVHM52WSBxy3Bo/Z7UwTsYw2qir4OAm40jpY/fUxrWzp4KUFKC7/T4t fq6g== |
| MIME-Version | 1.0 |
| In-Reply-To | <CAN8CLgke_WSzo7Xo57+aKHr6St5eB5zLK2CUw1wGN1boxfpjhA@mail.gmail.com> |
| References | <de40c5ae-e51f-4b21-9355-da06a4882c89@googlegroups.com> <5066506D.4020702@tim.thechases.com> <k45kg5$qpo$1@ger.gmane.org> <50665A23.1060300@tim.thechases.com> <mailman.1600.1348889168.27098.python-list@python.org> <50666b49$0$29981$c3e8da3$5496439d@news.astraweb.com> <k46fen$4g6$1@ger.gmane.org> <CAPTjJmpmjbMNV8C9uxd1O60mYD=sdS8ebQ5MravqHgxr4g7dFA@mail.gmail.com> <CAN8CLgke_WSzo7Xo57+aKHr6St5eB5zLK2CUw1wGN1boxfpjhA@mail.gmail.com> |
| Date | Sun, 30 Sep 2012 09:26:20 +1000 |
| Subject | Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1656.1348961183.27098.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1348961183 news.xs4all.nl 6885 [2001:888:2000:d::a6]:35994 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:30531 |
Show key headers only | View raw
On Sun, Sep 30, 2012 at 6:51 AM, Tim Delaney <timothy.c.delaney@gmail.com> wrote: > Personally I voted for the Fierce Snake[1][2] as the delimiter, but it was > voted down as "not Pythonic" enough. > I'm sure they were using that as a euphamism for "Python*ish*" though. > > [1] https://en.wikipedia.org/wiki/Inland_Taipan > [2] It's is so pretty: > https://upload.wikimedia.org/wikipedia/commons/f/fe/Fierce_Snake-Oxyuranus_microlepidotus.jpg A tempting idea, but it's rather a large delimiter. We should reserve that for multi-line strings, I think. Although you may have a problem with i18n; when you take your code to the southern hemisphere, the snake will be facing the other way, so what you thought was an open-quote marker is now a close-quote marker instead. Could get awkward for naive coders. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. iMath <redstone-cold@163.com> - 2012-09-28 17:31 -0700
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Tim Chase <python.list@tim.thechases.com> - 2012-09-28 20:35 -0500
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Paul Rubin <no.email@nospam.invalid> - 2012-09-28 18:42 -0700
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-29 02:58 +0100
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Tim Chase <python.list@tim.thechases.com> - 2012-09-28 21:17 -0500
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-28 21:25 -0600
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-29 03:30 +0000
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Tim Chase <python.list@tim.thechases.com> - 2012-09-28 22:50 -0500
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-29 10:38 +0100
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Chris Angelico <rosuav@gmail.com> - 2012-09-29 20:05 +1000
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-29 11:50 +0100
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-29 11:04 -0600
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Chris Angelico <rosuav@gmail.com> - 2012-09-30 09:26 +1000
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Tim Chase <python.list@tim.thechases.com> - 2012-09-28 22:42 -0500
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-09-29 00:25 -0400
Re: write a regex matches 800-555-1212, 555-1212, and also (800) 555-1212. Fg Nu <fgnu32@yahoo.com> - 2012-09-28 21:25 -0700
csiph-web