pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

Bad translation for regex substitution of default var

Open snoopyjc opened this issue 3 years ago • 1 comments

Bad translation for regex substitution of default var. Perl seems to know that this means to take all the word in $_ and capitalize them:

s,\b(\D),uc $1,ge;

but the pythonizer gets completely confused (as do I)!!

snoopyjc avatar Nov 29 '21 05:11 snoopyjc

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

snoopyjc avatar Feb 07 '22 16:02 snoopyjc