pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

split /regex/ generates code with syntax errors in multiple cases

Open snoopyjc opened this issue 3 years ago • 1 comments

split /regex/ generates code with syntax errors in multiple cases, for example:

($if1,$if2,$bytes) = split /\|/;

output code is missing the right paren. Also:

 ($r1,$i1) = split /:/,$ingress[0];

output code rhs is ONLY the right paren!

snoopyjc avatar Nov 08 '21 05:11 snoopyjc

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

snoopyjc avatar Feb 07 '22 16:02 snoopyjc