Open limor-gs opened 8 years ago
This is a very complicated feature to provide. The user defines a regular expression which matches a set of static expressions in the file. Adding the ability to also see how many of each were found isn't trivial as python's re
doesn't provide such functionality. I'll keep this open and if additional people ask for this functionality, i'll add it.
When repex find more than one occurrence of the 'replace' string - it should replace it only once (in the new repex version). It will be helpfull that the log will contain the number of 'replace' occurrences, so it will be clear why in some cases the sum of the numbers of replacements is greater than the specific 'Replacing ...' strings.