Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Cameron Simpson Newsgroups: comp.lang.python Subject: Re: psss...I want to move from Perl to Python Date: Sun, 31 Jan 2016 20:53:54 +1100 Lines: 12 Message-ID: References: <56add285$0$1593$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: news.uni-berlin.de NG3ERievqu2iHG5QUz7EKAhuuAwqXZTIcZG4QbzRD0yA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'perl,': 0.07; '(actually': 0.09; 'plug': 0.09; 'python': 0.10; 'jan': 0.11; '2016': 0.16; '>on': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'simpson': 0.16; 'wrote:': 0.16; 'cheers,': 0.22; 'matching': 0.23; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'code': 0.30; "d'aprano": 0.33; 'steven': 0.33; 'gets': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'received:localdomain': 0.38; 'turned': 0.38; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'here.': 0.62; 'more': 0.63; 'cameron': 0.66; '3000': 0.79; 'have.': 0.93; 'subject:want': 0.93 Content-Disposition: inline In-Reply-To: <56add285$0$1593$c3e8da3$5496439d@news.astraweb.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102341 On 31Jan2016 20:23, Steven D'Aprano wrote: >On Sun, 31 Jan 2016 02:48 pm, Cameron Simpson wrote: >> I have. I've got one right here. It happens to be in perl, but it has been >> in need of a recode in Python for a long time. It has about 3000 regexps. > >Wow. What's the code do? Adzapper. It has many many regexps matching URLs. (Actually a more globlike syntax, but it gets turned into a regexp.) You plug it into your squid proxy. Cheers, Cameron Simpson