DSLs in perl and python (Was sobering observation)

MRAB python at mrabarnett.plus.com
Thu Mar 17 18:43:42 EDT 2016


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.




More information about the Python-list mailing list