pythonizer
pythonizer copied to clipboard
No code is generated for pattern match in spite of side effects
No code is generated for pattern match in spite of side effects. For example:
"976562500000000" =~ /(\d+)/;
is an expression and generates no code. Instead it needs to run the pattern match which sets $1 to the matching pattern.
Fixed in https://github.com/snoopyjc/pythonizer