Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feed.xsnews.nl!border-1.ams.xsnews.nl!xlned.com!feeder7.xlned.com!news2.euro.net!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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'confuse': 0.09; 'sep': 0.09; 'subject:()': 0.09; 'weird': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'inclined': 0.16; 'subject:expression': 0.16; 'subject:regular': 0.16; 'subject:sign': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'unicode': 0.17; 'appears': 0.18; 'received:209.85.214.174': 0.21; "i'd": 0.22; 'header:In-Reply-To:1': 0.25; 'question': 0.27; 'message- id:@mail.gmail.com': 0.27; 'character': 0.29; 'normally': 0.30; 'subject: : ': 0.30; 'instead,': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'subject:with': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; '26,': 0.65; 'hey,': 0.72; 'still.': 0.84; 'subject:dollar': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sqdlGVA7fASsQbHgEWQ/CfUehA51+wg2T9Uii+NU6sc=; b=aEAntLMjed77KkejUXmsbtfOG1D5vjcUun1dUutiq+FfWCzWteG11XphjIVsidVHUE PSudBjLHa4aRI/WrUPxiSCwfji1NgVokU/S74xC5IKQIFgBeoF7ftPY0Q3VzpJgM37+g ex/ssYnGgFjlPuhisjHtiBhvoC6UnoLGbvs8JjLZq88eenCyrMzJvplR1mcSm3R9mqGf 7979bL+jDi0PAgEdlQNSgjUXdDmk/1GuBQHj+hBzWaobrNl0eGcKyRHfl69Nk5DZrm4y mHdNSwBxN/C+hn4kRHO7PFblQ8omiNQZKJWy2jTnty4QInd674FUZJsyGYahy0XOapkd MBYg== MIME-Version: 1.0 In-Reply-To: References: <5d913584-b5ea-4ff1-8094-f4d5b273c0b6@googlegroups.com> Date: Wed, 26 Sep 2012 17:57:59 +1000 Subject: Re: regular expression : the dollar sign ($) work with re.match() or re.search() From: Chris Angelico To: python-list@python.org 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348646287 news.xs4all.nl 6921 [2001:888:2000:d::a6]:47298 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30156 On Wed, Sep 26, 2012 at 5:48 PM, Jussi Piitulainen wrote: > What was the weird character that you used as a question mark? I > removed them because they confuse the newsreader I use. It appears to be Unicode Character 'FULLWIDTH QUESTION MARK' (U+FF1F). Normally I'd be inclined to simply use U+003F instead, but hey, it's a question mark still. ChrisA