pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

Regex with DEFAULT_VAR and capturing groups needs to always set the DEFAULT_MATCH

Open snoopyjc opened this issue 3 years ago • 1 comments

Regex with DEFAULT_VAR and capturing groups needs to always set the DEFAULT_MATCH. There are cases in the code where it's not set, but if the user then refers to $1 etc, that gives an error.

snoopyjc avatar Feb 22 '22 20:02 snoopyjc

Fixed in my v0.956 https://github.com/snoopyjc/pythonizer/

snoopyjc avatar Mar 31 '22 22:03 snoopyjc