Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33564

RE: Robust regex

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jcasale@activenetwerx.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.048
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'everyone!': 0.07; 'robust': 0.09; 'better:': 0.16; 'yup,': 0.16; 'string': 0.17; 'to:name:python-list@python.org': 0.20; 'split': 0.23; 'to:2**1': 0.23; 'header:In-Reply-To:1': 0.25; 'received:10.0.0': 0.28; 'received:10.0': 0.33; 'to:addr:python-list': 0.33; 'thanks': 0.34; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'received:unknown': 0.63; 'more': 0.63; 'to:addr:gordon': 0.84
X-Cloudmark-SP-Filtered true
X-Cloudmark-SP-Result v=1.1 cv=7/EMZfWbaVtDMdTqnk9efwidrOfQb3DZMdpNhNw5Oc4= c=1 sm=1 a=e0aVyHJSPUcA:10 a=7PYXob_7ZXMA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=cmEoYjUdjlLI0uwYXw4A:9 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
From "Joseph L. Casale" <jcasale@activenetwerx.com>
To John Gordon <gordon@panix.com>, "python-list@python.org" <python-list@python.org>
Subject RE: Robust regex
Thread-Topic Robust regex
Thread-Index AQHNxpd2JtdJV0V8Ty+J+1yB/TzXUJfx0DqN
Date Mon, 19 Nov 2012 23:37:05 +0000
References <k8e622$p08$1@reader1.panix.com>
In-Reply-To <k8e622$p08$1@reader1.panix.com>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [10.0.0.4]
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
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.19.1353368359.29569.python-list@python.org> (permalink)
Lines 6
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1353368359 news.xs4all.nl 6904 [2001:888:2000:d::a6]:41491
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:33564

Show key headers only | View raw


> Regexes may be overkill here.  A simple string split might be better:

Yup, and much more robust as I was looking for.

Thanks everyone!
jlc

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Robust regex "Joseph L. Casale" <jcasale@activenetwerx.com> - 2012-11-19 20:32 +0000
  Re: Robust regex John Gordon <gordon@panix.com> - 2012-11-19 20:50 +0000
    RE: Robust regex "Joseph L. Casale" <jcasale@activenetwerx.com> - 2012-11-19 23:37 +0000

csiph-web