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


Groups > comp.lang.python > #11514

regular expression

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <dannwong@cisco.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'example:': 0.03; 'skip:/ 40': 0.07; '"my': 0.09; 'command.': 0.09; 'output': 0.10; 'component:': 0.16; 'subject:expression': 0.16; 'subject:regular': 0.16; 'work"': 0.16; 'header:In-Reply-To:1': 0.22; 'changes:': 0.23; 'string': 0.26; 'all,': 0.28; 'to:addr:python-list': 0.33; 'skip:# 10': 0.34; 'charset:us-ascii': 0.36; 'to:addr:python.org': 0.39
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=dannwong@cisco.com; l=426; q=dns/txt; s=iport; t=1313478103; x=1314687703; h=mime-version:content-transfer-encoding:subject:date: message-id:in-reply-to:references:from:to; bh=WLPEbzsQuFiTu+m5J1LQJc6uPDty8hgzT8hfdBLZxuA=; b=eE6KH4REM0OLVi5mmxVuacbrbOEYAho7CMVDsaHHzmwoKcjy3YM6FWWP 8TelnHpA2t5qJGz1FpoEt0GIhULM12/x7PXvrPMWRSl09BcpRfckxvKq6 Ru/gUfIRWa8OwBqccntTUwJKgwwxXD+MmPhR6w0LRwIgeK67bXwW34TCw k=;
X-IronPort-Anti-Spam-Filtered true
X-IronPort-Anti-Spam-Result Ak0HACYVSk6tJV2a/2dsb2JhbABBmRKPCneBQQEBAQMSARQJCk8CASoGGAYBUAYBAQQbGqMpAZ8UhWhfBIdfkEiLfg
X-IronPort-AV E=Sophos;i="4.67,378,1309737600"; d="scan'208";a="13451972"
X-MimeOLE Produced By Microsoft Exchange V6.5
Content-class urn:content-classes:message
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
Subject regular expression
Date Tue, 16 Aug 2011 02:00:22 -0500
In-Reply-To <4E499F0B.30900@stoneleaf.us>
X-MS-Has-Attach
X-MS-TNEF-Correlator
Thread-Topic regular expression
Thread-Index Acxb4ir3UlxmoI2rSJOU7fsKajOiDg==
References <BB13E4C4D649234F84A01F6DF64BB87F076AD0CE@ccs-ex01.coldstorage.com> <4E499F0B.30900@stoneleaf.us>
From "Danny Wong (dannwong)" <dannwong@cisco.com>
To <python-list@python.org>
X-OriginalArrivalTime 16 Aug 2011 07:00:32.0293 (UTC) FILETIME=[30985D50:01CC5BE2]
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.38.1313478105.27778.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1313478105 news.xs4all.nl 23853 [2001:888:2000:d::a6]:57507
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:11514

Show key headers only | View raw


Hi All,
	If I get multiline standard output from a command. How can I
retrieve this part of the string "(1006)"
Example:

#Committing...
#Workspace: (1003) "My OS_8.12.0 Work" <-> (1004) "OS_8.12.0"
#  Component: (1005) "he-Group" <-> (1004) "OS_8.12.0"
#    Outgoing:
#      Change sets:
#        (1006)  *--@  <No comment>
#          Changes:
#            ---c- /he-Group/o-PI/target/config/common-ngp/makefile

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


Thread

regular expression "Danny Wong (dannwong)" <dannwong@cisco.com> - 2011-08-16 02:00 -0500

csiph-web