Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:module': 0.04; 'expressions.': 0.09; 'am,': 0.12; 'compile.': 0.16; 'sajip': 0.16; 'subject: \n ': 0.16; 'vinay': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'subject:skip:s 10': 0.18; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'feb': 0.22; 'subject: ?': 0.24; 'cc:2**0': 0.26; "i'm": 0.28; 'message- id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'does': 0.32; 'tue,': 0.32; 'match': 0.34; 'character': 0.34; 'wondering': 0.34; 'regular': 0.35; 'received:209.85.160': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:209.85.160.46': 0.39; 'received:mail- pw0-f46.google.com': 0.39; 'received:209': 0.39; 'subject:Nothing': 0.84; 'subject:nothing': 0.84; 'to:addr:yahoo.co.uk': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=lWmLUeSaE+5CdM8NtjWYCYV1tW3a7NEGaw5CoVGMKkQ=; b=hQLjQvtz6s9u7hjU3uhjx/wQXQbtnDaYe4FuBq3Es/C9NbY7FJtrnisHq5qtuJmRQR vFAnbp5PSI4UPfN9ovCi2e42DWzqGB2EYQKsJFyNyhryZoKkN1fkX+hX76Xrh/jKBjV6 ++a5CkmYP1wnzyG9lykMyv4juJlS+KXRZnWMU= MIME-Version: 1.0 In-Reply-To: <0cc200e6-6e4c-47b7-8563-3abc3ac94f22@k10g2000yqk.googlegroups.com> References: <0cc200e6-6e4c-47b7-8563-3abc3ac94f22@k10g2000yqk.googlegroups.com> From: Devin Jeanpierre Date: Tue, 14 Feb 2012 08:33:12 -0500 Subject: Re: re module: Nothing to repeat, but no sre_constants.error: nothing to repeat ? To: Vinay Sajip Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1329226436 news.xs4all.nl 6876 [2001:888:2000:d::a6]:34436 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20397 On Tue, Feb 14, 2012 at 8:20 AM, Vinay Sajip wrote: > $ is a meta character for regular expressions. Use '\$*', which does > compile. I mean for it to be a meta-character. I'm wondering why it's OK for to repeat a zero-width match if it is a zero-width assertion. -- Devin