Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!news2.arglkargh.de!news.albasani.net!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: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.066 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.00; 'oct': 0.16; 'subject:expression': 0.16; 'subject:regular': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'header:In-Reply-To:1': 0.25; 'message- id:@mail.gmail.com': 0.27; 'regular': 0.27; 'group:': 0.29; 'received:209.85.215.46': 0.30; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'why': 0.37; 'received:209': 0.37; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'to:name:python': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=1YIv62oQtLCLTXJOLCKoyKHE/Iq+Cau4pcAdYbEpeuA=; b=VtZrYhdTfsvMSsw6UynNm8aTM51cleA2kF73gxWGEKmImgRDwBWRuaPDNOK35016S2 fygccUepvh+EVkCf8KdJJV40DDbIc2tnaeaqhgWYUG/vg1bVisH6uufQE2xXN3f9rkND +nRDyoBmDhnzN1KYbk9yMKxvD5ff9g58nSzhLh44PeFAktir7VsFXjHknq5GYqcGqwOo ingwoMGOUo/3yoC8uG7WALLvmV7EjDO+Fk9QU8xRgMtXWFnjPsDOJRtDHPLlfvY1Ak+P E3+LXcvM0pCteN/UBFuRAxzqQfVZLO5hzYfTuuGTVN++ZZVtfpYhds54CzIcz7RJEG4w 9VWw== MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Wed, 3 Oct 2012 21:17:19 -0600 Subject: Re: + in regular expression To: Python 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 5 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1349320672 news.xs4all.nl 6945 [2001:888:2000:d::a6]:58626 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30706 On Wed, Oct 3, 2012 at 9:01 PM, contro opinion wrote: > why the "\s{6}+" is not a regular pattern? Use a group: "(?:\s{6})+"