Increase the usage of expressions with combined operators
Opened this issue ยท 0 comments
elfring commented
Feature explanation
๐ Some source code analysis tools can help to find opportunities for improving software components.
๐ญ I propose to increase the usage of combined operators accordingly.
What is the value of the wanted feature ?
Adjusted software run time characteristics
Additional information
Would you like to integrate anything from a transformation result which can be generated by a command like the following?
(:point_right: Please check also for questionable change suggestions because of an evolving search pattern.)
lokal$ perl -p -i.orig -0777 -e 's#(?<target>\$\S+)\s*=\s*\k<target>[ \t]*(?<operator>[+/%^.]|-(?!>)|&(?!&)|\|(?!\|)|\*\*?|<<|>>|\?\?)#$+{target} $+{operator}=#gm' $(find ~/Projekte/Centreon/lokal -name '*.php')