Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'from:addr:yahoo.co.uk': 0.04; 'subject:Python': 0.06; 'expressions': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Help': 0.11; 'python': 0.11; 'language.': 0.14; 'thread': 0.14; 'windows': 0.15; '"here': 0.16; 'expressions.': 0.16; 'grep': 0.16; 'modules.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'silly': 0.16; 'language': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'python?': 0.22; 'shell': 0.22; 'header:User-Agent:1': 0.23; 'certainly': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'mix': 0.30; "i'm": 0.30; "d'aprano": 0.31; 'go.': 0.31; 'steven': 0.31; 'regular': 0.32; "i'll": 0.36; 'two': 0.37; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; "you're": 0.61; 'our': 0.64; 'different': 0.65; 'charset:windows-1252': 0.65; 'mar': 0.68; '2015': 0.84; 'gregg': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Regex Python Help Date: Wed, 25 Mar 2015 23:50:12 +0000 References: <099b0ca2-1f5e-4eb4-a7d0-d8210bcca51a@googlegroups.com> <94a16553-1d08-46ca-9290-d024cf408248@googlegroups.com> <5513404c$0$13000$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-146-4-184.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <5513404c$0$13000$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427327424 news.xs4all.nl 2840 [2001:888:2000:d::a6]:49723 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:88000 On 25/03/2015 23:10, Steven D'Aprano wrote: > On Thu, 26 Mar 2015 08:19 am, Gregg Dotoli wrote: > >> Grep is regular expressions. If I'm using Python, I'll use the Python >> modules. Silly > > It very well may be silly. > > You're using Python regular expressions because you're using Python. Why are > you using Python? Early in this thread you said > > "Here you go. Windows shell was easier!!!" > > Does Windows shell have grep? How about Powershell? If grep is available, > why mix two different languages? > gnuwin32 certainly does. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence