Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: MRAB Newsgroups: comp.lang.python Subject: Re: DSLs in perl and python (Was sobering observation) Date: Thu, 17 Mar 2016 22:43:42 +0000 Lines: 14 Message-ID: References: <7f139f92-3957-40e5-be75-ad19b9401617@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de voyJXNol08KcnAwkYCTPug/r9EXUnul8WcpYSnxF8S9w== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'list?': 0.07; 'python': 0.10; 'thursday,': 0.13; 'subject:python': 0.14; '"x"': 0.16; '2016': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'readable': 0.16; 'received:192.168.1.4': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Was': 0.16; 'wrote:': 0.16; 'stick': 0.18; '>>>': 0.20; 'lawrence': 0.22; 'questions:': 0.22; "python's": 0.23; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'mode.': 0.29; 'perl': 0.29; 'something': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'end': 0.39; 'why': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'march': 0.64; 'smith': 0.76; 'utc+5:30,': 0.84 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=K//fZHiI c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=PEmos2dBNIoeiaMp5-8A:9 a=QEXdDO2ut3YA:10 X-AUTH: mrabarnett@:2500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 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:105166 On 2016-03-17 22:22, Mark Lawrence wrote: > On 17/03/2016 17:47, Rustom Mody wrote: >> On Thursday, March 17, 2016 at 10:09:27 PM UTC+5:30, Charles T. Smith wrote: >>> or something else ... you're in a "defend python at all costs!" mode. >> So now my questions: >> >> How do you in perl make regexps readable like python's VERBOSE? >> Can you do better in perl? >> > > I neither know, nor do I care. Why not ask on a perl list? > Stick an "x" on the end of the regex: /something/x or s/old/new/x.