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


Groups > comp.lang.python > #53170

Re: String splitting with exceptions

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'parser': 0.07; 'cc:addr :python-list': 0.11; 'format?': 0.16; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'subject:String': 0.16; 'worst': 0.16; 'sender:addr:gmail.com': 0.17; 'skip:f 30': 0.19; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'cc:2**0': 0.24; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'record': 0.27; 'message-id:@mail.gmail.com': 0.30; 'subject:with': 0.35; 'case,': 0.35; 'received:google.com': 0.35; 'are,': 0.36; 'handle': 0.38; 'little': 0.38
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=MGnlXImib9UVVlI548H5O0v51zqjgrNTSE1YdK6F+yI=; b=nIqZfMdj5PIvicOEigxwwZtMptxJ/VMHFNEb5MyZ0fCfyjy3tAx0m8AdvvdYGJi6F8 x7xI85DZ3SkklMf8QGUAv5jvWhLPCalNSU6gSnwZb+6WRmbN+n/Wa+SlN1W2fg3Ta4h3 Y6iPzrGaynaGUlXKrG7bga2tz9mtNsdkpd7jK1xTAf9IjB8CrnVDeuGO5qHBf4RYzpDj rBLERIh9Y0ACFi68ujV0d8+PprKHZEYFyFUqq/7/D1gVwQ5rb2imIt5KTsz7qxwHyRsB S0DnUAjXxagWjuIGHop7uvfBXO/CPrsKMAj/0voygTnCZ+nIlaVgd/XkRHl+0d5L+QLC gP1Q==
MIME-Version 1.0
X-Received by 10.220.43.19 with SMTP id u19mr26403526vce.3.1377708931075; Wed, 28 Aug 2013 09:55:31 -0700 (PDT)
Sender skip.montanaro@gmail.com
In-Reply-To <kvl9e5$19gk$1@leila.iecc.com>
References <kvl9e5$19gk$1@leila.iecc.com>
Date Wed, 28 Aug 2013 11:55:31 -0500
X-Google-Sender-Auth FV1eAv4deBRwUwUanKgl31JDuTE
Subject Re: String splitting with exceptions
From Skip Montanaro <skip@pobox.com>
To John Levine <johnl@iecc.com>
Content-Type text/plain; charset=UTF-8
Cc Python <python-list@python.org>
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.318.1377708933.19984.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1377708933 news.xs4all.nl 15873 [2001:888:2000:d::a6]:47421
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:53170

Show key headers only | View raw


> The record formats are, in the worst case, like this:
>
> foo.[DOM]::[IP6::4361:6368:6574]:600::

> Any suggestions?

Write a little parser that can handle the record format?

Skip

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


Thread

String splitting with exceptions John Levine <johnl@iecc.com> - 2013-08-28 16:44 +0000
  Re: String splitting with exceptions Skip Montanaro <skip@pobox.com> - 2013-08-28 11:55 -0500
  Re: String splitting with exceptions random832@fastmail.us - 2013-08-28 13:14 -0400
    Re: String splitting with exceptions John Levine <johnl@iecc.com> - 2013-08-28 21:35 +0000
  Re: String splitting with exceptions Tim Chase <python.list@tim.thechases.com> - 2013-08-28 12:32 -0500
    Re: String splitting with exceptions Neil Cerutti <neilc@norwich.edu> - 2013-08-28 18:18 +0000
  Re: String splitting with exceptions Neil Cerutti <neilc@norwich.edu> - 2013-08-28 18:08 +0000
    Re: String splitting with exceptions Peter Otten <__peter__@web.de> - 2013-08-28 20:31 +0200
  Re: String splitting with exceptions wxjmfauth@gmail.com - 2013-08-29 00:26 -0700

csiph-web