pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

Regular expression substitution generates bad code

Open snoopyjc opened this issue 3 years ago • 1 comments

Perl code of the form:

$f =~ s/this/that/flags;

generates bad python code.

snoopyjc avatar Nov 07 '21 05:11 snoopyjc

Fixed in https://github.com/snoopyjc/pythonizer

snoopyjc avatar Feb 07 '22 16:02 snoopyjc